GNOME Bugzilla – Bug 590939
GNOME "open in terminal" context menu action with SSH folders enhancement should use "-Y" option
Last modified: 2009-08-10 08:50:50 UTC
Forwarding https://bugzilla.novell.com/show_bug.cgi?id=485436 When a SSH folder is opened in a terminal in Nautilus, it would be useful the terminal were opened with the "-Y" option, so that apps with a gui launched on the remote machine could show up without requiring the user to open another terminal and specify the -Y option in a manually typed SSH command.
Users who want to use -Y for ssh should add the following entry to ~/.ssh/config: Host <myhost> ForwardX11 yes ForwardX11Trusted yes <myhost> can also be *, in which case the setting apply for all hosts. Resolving as NOTGNOME.
Forwarding reply from the reporter: ============== Well, the suggested solution seems a bit too drastic to me. In this way you affect _all_ SSH connections, which might not be what you want. Making GNOME use the -Y option, on the other side, would make more sense because you are using a graphical interface so you would expect X to be forwarded as well for consistency. ==============
When appending "-Y" by default, those who explicitly do not want an X connection have to disable it through ~/.shh/config. Anyway, it would be rather unexpected for experienced users that we mess around with ssh config lines without advertizing. I think we should stay constistent with the command line ssh invocation wherever possible with the exception of ports explicitly specified in GVFS URIs. I'm leaving this report closed. Thanks for reporting back, though.