nautilus not using ssh keys for sftp

Bug #351984 reported by Nick B.
2
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Since I upgraded to Jaunty, Nautilus doesn't seem to use my ssh keys for stfp connections anymore. I have a few sftp bookmarks in my Nautilus bookmarks and in Intrepid I could just click those and Nautilus would connect since I had the key in the key agent. Now in Jaunty when I try to connect I get a popup asking for my password. This is not the usual ssh passphrase dialog. What I've noticed is that when connecting to servers that still have password authentication enabled I must enter the password for my user on the server or else it rejects me. It will not accept my ssh key passphrase. But on servers that have disabled password authentication an only accept key authentication I can enter my ssh key passphrase and it will accept it.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: nvidia
Package: nautilus 1:2.26.0-0ubuntu4
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: nautilus
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Nick B. (futurepilot) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, do you get the same issue using gvfs-mount? what prompt text do you get when using ssh server?

Changed in nautilus (Ubuntu):
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Nick B. (futurepilot) wrote : Re: [Bug 351984] Re: nautilus not using ssh keys for sftp

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sebastien Bacher wrote:
> thank you for your bug report, do you get the same issue using gvfs-
> mount? what prompt text do you get when using ssh server?
>
> ** Changed in: nautilus (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: nautilus (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: nautilus (Ubuntu)
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
>

When I do gvfs-mount sftp://nick@192.168.1.2 it gives me
Enter passphrase for key
Password:

This particular server only accepts key based authentication.

When I do the same thing only for a different server that still allows
for password authentication I get
gvfs-mount sftp://user@host
Enter password
Password:

even though I have a key set up for that server

When I try to ssh to any of these servers from the command line it
connects without asking me anything because the keys are in the key
agent.

I also tested the gvfs-mount commands on an Intrepid machine and it
connected without asking me anything provided the keys were in the key
agent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknRT+0ACgkQAGHzB9Tvw4xj+gCeMN1dFVk0CVgNBbPa3ctGsOzn
3FYAoJy6sDNwvRzGwnfpFoxoJvSrHsSj
=qXyr
-----END PGP SIGNATURE-----

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

using a passphrase seems to be the expected behaviour there no? the bug seems rather to be that it's not using the agent which is a known issue

Revision history for this message
Nick B. (futurepilot) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sebastien Bacher wrote:
> using a passphrase seems to be the expected behaviour there no? the bug
> seems rather to be that it's not using the agent which is a known issue
>

Yes, that seems to be the problem. It's not using the ssh agent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknRWEgACgkQAGHzB9Tvw4wwJwCdFOYq+R5aY7Iz2Wme9rTcyRl3
3eoAoJZ37Q1pzNPxO3a3qmYT7fNxcqOh
=UlYY
-----END PGP SIGNATURE-----

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

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in nautilus (Ubuntu):
status: Incomplete → Invalid
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.