I have been using SSH alot. I find myself creating new keys when something fails, like for git, then I lose communication to my other servers. I know going forward there should only be one set of locally generated keys, but for now, I need to merge the many /.ssh backups I've made so they can all be used simultaneously. How can I do this?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
It is permissible to list many keys in your
|
|||
|
|
|
In your ~/.ssh/config file try:
A session setup only allows 3 authentication attemps before the connection is dropped. Think of that as a 3 ID file limit. With the above, you can ssh to host A and it will use just that ID file. ssh to host B and it uses a different one, and so on. |
|||
|
|