← Back to team overview

desktop-packages team mailing list archive

[Bug 1312289] Re: gvfs-mount through ssh/sftp fails if host is not already in known_hosts file

 

That's fixed in the vivid version
https://git.gnome.org/browse/gvfs/commit/?h=gnome-3-14&id=84dc778fa5901f02b0b02fb258b0e401db510c85

** Changed in: gvfs (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1312289

Title:
  gvfs-mount through ssh/sftp fails if host is not already in
  known_hosts file

Status in GVFS:
  Fix Released
Status in gvfs package in Ubuntu:
  Fix Released

Bug description:
  After performing a fresh install of Ubuntu 14.04, I attempted to mount a remote computer through ssh/sftp:
  $ gvfs-mount ssh://user@host

  This resulted in the error message:
  Error mounting location: Login dialog cancelled

  This had been working fine in my previous installation, so I assumed
  that I was missing a package, or that some configuration was wrong.
  After some googling, attempts at adding more packages that "might" be
  necessary, reboots (just to be sure), I more or less gave up and
  thought I'd just live without for a while and ask a question myself on
  askubuntu.com.

  Then I thought I'd try one last thing; re-install nautilus (which I
  normally don't use) and try to mount through the nautilus GUI. That
  actually *did* work, but I noticed the "authenticity" message.

  So I unmounted, and remounted from the command line. This time it
  worked normally. I deleted the "known_hosts" file. Then the error
  message was back.

  While the workaround is pretty simple, it was quite hard (at least for
  me) to figure out what was happening.

  My suggestion is to either improve the error message so that users
  don't have to guess at what really happened or - preferably -
  establish the authenticity in the normal manner also when using the
  gvfs-mount command.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1312289/+subscriptions