SSH Config
ssh-keygen -t rsa -b 4096 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
#linux
sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
# Mac
pbcopy < ~/.ssh/id_rsa.pub
#
ssh-copy-id root@host
No Comments