[Bug 373619] [NEW] jaunty openssh-client tries all keys available in ~/.ssh

Alex Muntada alexm at alexm.org
Fri May 8 10:19:50 BST 2009

Public bug reported:

Binary package hint: openssh-client

I have several keys in my ~/.ssh directory. After yesterday's upgrade to
jaunty I just found that openssh-client is trying all my keys instead of
the default ones (id_rsa, id_dsa & identity). I just reproduced the
problem like this:

1. Make sure that there's no key in ~/.ssh and no ~/.ssh/config either
2. Make a new key named ~/.ssh/foobar without a passphrase: ssh-keygen -t rsa -f ~/.ssh/foobar -N ""
3. Run: ssh-copy-id -i ~/.ssh/foobar remote-host (asks for a password)
4. Run: ssh remote-host (doesn't ask for a password)

Step 4 should ask for a password since foobar is not any of the default
key filenames and my ~/.ssh/config doesn't use it either (you can try
with other key filenames and get the same, wrong behaviour).

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New

jaunty openssh-client tries all keys available in ~/.ssh
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