Put your private & public key on folder ~/.ssh
All private keys must have 600 rights (-rw——-), or they will be ignored.
- List your currently load keys:
- Load your keys on ssh-agent and store them on OSX Keychain for future use
ssh-add -K /path/of/private/key
Eventually type the SSH key’s secret if prompted.
All your SSH keys should have been added to your “session” keychain for the application SSH.
From now on, when you need to connect with SSH, you can load all of your private keys at once with the following command
To go further
Get speedy with a config file
You can setup a config file for your frequently accessed servers, and preconfigure all the connection details:
- ssh port,
- etc …
Reuse existing putty keys (*.ppk)
Make a good use of puttygen … (To be described one day, maybe …)
I used the following informations found on the web and obviously the manual to get the whole thing working.
Thanks you to each of the authors for their valuable informations.