add new public key github code example
Example 1: 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 2: New SSH key Github
$ ssh-keygen -t ed25519 -C "[email protected]"
Example 3: add ssh key to github
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 4: add ssh key to github
> Generating public/private rsa key pair.
Example 5: add ssh key to github
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]