Managing multiple SSH keys
by Syed Aslam · 5 min read
Managing SSH keys can become cumbersome as soon as you need to use a second key. Traditionally, you would use ssh-add to store your keys to ssh-agent, typing in the password for each key. A better solution is to automate adding keys, store passwords and specify which key to use when accessing certain servers. Use the configuration file to manage multiple ssh keys pairs.