SSHFS doesn't honor ForwardX11 settings in ~/.ssh/config
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.
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|
|Changed in sshfs-fuse (Ubuntu):|
|status:||Confirmed → Triaged|