git key code example
Example 1: github private 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: terminal git add ssh key
$ eval "$(ssh-agent -s)"
> Agent pid 59566