New SSH key Github code example
Example 1: ssh github generate key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: add ssh key to github
ssh-add -l
ssh-keygen -t rsa -b 4096 -C your__gmail
sudo apt install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
DONE!!!
Example 3: New SSH key Github
$ ssh-keygen -t ed25519 -C "[email protected]"
Example 4: add ssh key to github
> Generating public/private rsa key pair.
Example 5: github how to add ssh key
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
Example 6: add ssh key to github
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]