SSHFS doesn't honor ForwardX11 settings in ~/.ssh/config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sshfs-fuse (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
SSHFS doesn't honor ForwardX11 settings in ~/.ssh/config. This is a problem when using ControlMaster. If the initial connection didn't enable X forwarding, no subsequent connections will be able to use it.
If I have the following host configuration.
Host mybox
Hostname mybox.ahost.com
User brian
ForwardX11 yes
Host *
ControlPath ~/.ssh/
And establish my first ssh connection to mybox with
sshfs mybox:/home/brian /media/mybox
This mounts the folder over ssh and creates ~/.<email address hidden>:22
All subsequent ssh connections to mybox will reuse the existing connection. If try to launch an application that requires X
ssh -f mybox mozilla-thunderbird
it will fail, in this case with the error Gtk-WARNING **: cannot open display:
The workaround is to either disable ControlMaster for certain hosts or establish a normal ssh connection before using sshfs.
Changed in sshfs-fuse: | |
importance: | Undecided → Wishlist |
tags: | added: precise |
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.