Bug 711253 - OpenSSH won't try all keys when using LXDE
Summary: OpenSSH won't try all keys when using LXDE
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan F. Chadima
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-07 01:07 UTC by eric
Modified: 2011-06-13 16:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-13 07:04:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
OpenSSH verbose log (9.81 KB, text/x-log)
2011-06-07 01:07 UTC, eric
no flags Details

Description eric 2011-06-07 01:07:22 UTC
Created attachment 503354 [details]
OpenSSH verbose log

Description of problem: When using LXDE OpenSSH won't try all ssh keys to login to the other computer.  When using GNOME I don't see this behavior.


Version-Release number of selected component (if applicable): openssh.i686                         5.6p1-31.fc15.1 


How reproducible: Always


Steps to Reproduce:
1. Attempt to connect to server using crypto login.
2. 
3.
  
Actual results: OpenSSH attempts to use id_rsa and id_dsa but none of the other keys such as id_rsa.4.

Expected results: OpenSSH attempts to use any key available.


Additional info:

Comment 1 Jan F. Chadima 2011-06-09 11:13:42 UTC
Where you have the keys stored? Are you running the ssh-agent?

Comment 2 eric 2011-06-10 20:19:24 UTC
Keys are stored in ~/.ssh.  AFAIK, ssh-agent is working.  I can immediately go to GNOME and all works as expected.

Comment 3 Tomas Mraz 2011-06-13 07:04:10 UTC
The reason is that Gnome does not use ssh-agent but gnome-keyring in the ssh agent role. Gnome-keyring does this 'try all keys in .ssh' behavior.

Comment 4 eric 2011-06-13 15:32:16 UTC
So how do you fix this behavior?

Comment 5 Tomas Mraz 2011-06-13 16:43:01 UTC
There is nothing to fix. You can probably run gnome-keyring instead of ssh-agent in LXDE (I am not sure about that.) if you like this behavior so much.

Or you can add the keys by ssh-add <filename> with some script.


Note You need to log in before you can comment on or make changes to this bug.