Generate SSH Key:
$ ssh-keygen -t rsa -C "email@example.com"
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