[Bug 374427] Re: doesn't accept multiple keys in id_rsa

Tomas Pospisek tpo_deb at sourcepole.ch
Tue Jun 2 10:45:53 BST 2009

wretched_dutchman  wrote:

> > When maintaining multiple servers with different rsa-keys it isn't
possible to put all the files in ~/.ssh/id_rsa.

Colin answered:

> I don't understand what you're trying to do. The id_rsa file is only supposed to contain one key; you can put other keys in
> different files. What are you trying to achieve by putting multiple keys in one file?

I'm having the same problem I guess:

There are several servers that have different public keys. Now I find
out that I want to log into them from the same client machine. I could
go and copy all the private keys to different id_rsa files:

- id_rsa1
- id_rsa2
- id_rsa3

Now why would I need/want to differentiate the keys? I don't care what
they are named. I just want to log in with whatever key fits (to use a
RL analogy: I'd just try to plug in one key after the other into the
lock until one opens it).

So I'd say this is more of a feature request?

** Changed in: openssh (Ubuntu)
       Status: Incomplete => Confirmed

doesn't accept multiple keys in id_rsa
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

More information about the Ubuntu-server-bugs mailing list