add ssh git code example
Example 1: genrate shh key github
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: terminal git add ssh key
$ ssh-add ~/.ssh/id_rsa
Example 3: ssh-add git
$ eval "$(ssh-agent -s)"
$ ssh-add -K ~/.ssh/id_ed25519
Example 4: add ssh key to github
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]