-
Notifications
You must be signed in to change notification settings - Fork 1
requirements
Augusto Luis Ballardini edited this page Sep 26, 2020
·
1 revision
check if the key (id_rsa.pub) already exists (https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/checking-for-existing-ssh-keys)
ls -al ~/.ssh
if not, generate a new key (https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) dont add passwords when asked
ssh-keygen -t rsa -b 4096 -C "[email protected]"
check & do the ssh-add:
eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_rsa
sudo apt-get install xclip xclip -sel clip < ~/.ssh/id_pub.rsa