Suppose, I have two pc and in each pc I have a .ssh folder and in each folder I have three files id_rsa
, id_rsa.pub
and known_hosts
.
Now I want to use both ssh keys in one pc.
How can I do that?
How can I manage both ssh keys in one pc? I am on linux mint.
Create a SSH config file
If you don't have a config file, create one.
Add an alias for each identity combination for example:
PS
Don't forget to load the keys to your github account.
How to add ssh key to github account?
SSH keys
Add ssh key
And you all set to go :-)