Skip to content

Instantly share code, notes, and snippets.

View Mites-G's full-sized avatar

M. Garcia Mites-G

View GitHub Profile
Mites-G / How to configure multiple deploy keys for different private github repositories on the same computer

Generate your first ssh key, for this type the following command line in your terminal:

ssh-keygen -t rsa -b 4096 -C ""

Now copy the content of your public key and add it to Github:

cat /home/username/.ssh/

Go to the following folder: ~/.ssh by typing: cd ~/.ssh. And rename your keys: