SSH key files not used. Need to enter password twice

Bug #224118 reported by Jens Askengren
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs
Fix Released
Medium
gvfs (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gvfs-backends

When browsing an sftp:// directory I need to enter the password, even though
key file authentication is set up and working for this server.
Doen't gvfsd-sftp support key file authentication?

If I open a file using gedit in the above sftp:// directory, I need to supply the password once again.
Isn't gvfsd-sftp supposed to share authentication information and state between applications?

This happens on Ubuntu 8.04.

description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, no need to authentification if the application is using the fuse mount, not sure when gvfs is used, note than gedit is not using gvfs yet

Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Changed in gvfs:
status: Unknown → New
Revision history for this message
Brad Whittington (bradwhittington) wrote :

More generally gvfs-ssh/sftp does not look at, or obey, any of the other settings in .ssh, for e.g. I use a custom config file in my .ssh folder so that connecting to certain hosts it will use specific ports and/or usernames, gvfs ignores these settings completely, and so I have to manually enter them when connecting to a known host (along with a password). It should obey/read the rules from .ssh/config, and it should use the keys in .ssh, and, even more relevant, talk to the ssh agent.

Revision history for this message
Sebastien Bacher (seb128) wrote :

do you still get the issue on jaunty?

Revision history for this message
Jens Askengren (jens-askengren) wrote :

This work fine in jaunty.
gvfs appears to read ~.ssh/config as well.
Thank you!

Revision history for this message
Sebastien Bacher (seb128) wrote :

closing the bug since that works fine now

Changed in gvfs (Ubuntu):
status: Triaged → Fix Released
Changed in gvfs:
status: New → Fix Released
Changed in gvfs:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.