git create ssh key code example
Example 1: ssh github generate key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: terminal git add ssh key
$ ssh-add ~/.ssh/id_rsa
Example 3: add ssh key to github
> Enter a file in which to save the key (/c/Users/you/.ssh/id_rsa):[Press enter]
Example 4: create ssh key github
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 5: terminal git add ssh key
$ eval "$(ssh-agent -s)"
> Agent pid 59566