SSH Config

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

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

Revision #3
Created 2 August 2019 19:16:01 by Juan Navas
Updated 24 October 2021 16:05:15 by Juan Navas