git ssh key linux
#SSH key for github.com
# Linux should not be using sudo commands
Generate SSH Key:
$ ssh-keygen -t rsa -C "[email protected]"
Add public key to git:
$ cat ~/.ssh/id_rsa.pub
- Copy all ouput
- Open web browser and paste the output on the client settings you use.
Start SSH agent:
$ eval "$(ssh-agent -s)"
Add private key to SSH agent:
$ ssh-add ~/.ssh/id_rsa
SSH to GitHub
$ ssh -T [email protected]
- With debug ssh -vT [email protected]
#If success you can start using
Tense Tortoise