If we have multiple ssh keys in the ~/.ssh folder.
- ~/.ssh/id_rsa
- ~/.ssh/id_rsa.pub
- ~/.ssh/hb
- ~/.ssh/hb.pub
To use hb key when executing $ ssh user@server.com add the key to ssh-add.
$ ssh-add ~/.ssh/hb
Logout and login again.
If we have multiple ssh keys in the ~/.ssh folder.
- ~/.ssh/id_rsa
- ~/.ssh/id_rsa.pub
- ~/.ssh/hb
- ~/.ssh/hb.pub
To use hb key when executing $ ssh user@server.com add the key to ssh-add.
$ ssh-add ~/.ssh/hb
Logout and login again.