After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 764827 - sftp server connection in the location bar ignores the ssh config file
sftp server connection in the location bar ignores the ssh config file
Status: RESOLVED DUPLICATE of bug 688308
Product: gvfs
Classification: Core
Component: sftp backend
1.26.x
Other Linux
: Normal major
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2016-04-09 20:19 UTC by cosama
Modified: 2016-04-09 20:45 UTC
See Also:
GNOME target: ---
GNOME version: 3.17/3.18



Description cosama 2016-04-09 20:19:31 UTC
I have gvfs 1.26.3 on Fedora 23 (Gnome 3.18.2) and this bug is still present. I thin it is about time to fix it.

+++ This bug was initially created as a clone of Bug #688308 +++

I defined some shortcuts in ~/.ssh/config like

Host ShortcutName
HostName servername
User username

These shortcuts work when I ssh to a server in the terminal (or mount the same server with sshfs) but are ignored by nautilus. When I use in the location bar a string like

sftp://ShortcutName

I'm asked for the username and password for the server "ShortcutName" and if I type them in the connection fails (obviously).

Looks like this used to work in the past and would come in handy. I'm on Ubuntu 12.10.
Comment 1 cosama 2016-04-09 20:21:05 UTC
By the way it can be reproduced by simply typing: gvfs-mount sftp://ShortcutName into the terminal.
Comment 2 Bastien Nocera 2016-04-09 20:45:54 UTC
Not helpful.

*** This bug has been marked as a duplicate of bug 688308 ***