How to open an application in a remote x session
Manuel Arostegui Ramirez
manuel at todo-linux.com
Thu Nov 9 14:03:41 UTC 2006
El Jueves, 9 de Noviembre de 2006 14:27, Ernest Byaruhanga escribió:
> >> ssh -Y user at host1
>
> whats the difference between -X and -Y flags?
>
> eb
-X Enables X11 forwarding. This can also be specified on a per-host
basis in a configuration file.
X11 forwarding should be enabled with caution. Users with the
ability to bypass file permissions on the remote host (for the
user’s X authorization database) can access the local X11 display
through the forwarded connection. An attacker may then be able
to perform activities such as keystroke monitoring.
For this reason, X11 forwarding is subjected to X11 SECURITY
extension restrictions by default. Please refer to the ssh -Y
option and the ForwardX11Trusted directive in ssh_config(5) for
more information.
-Y Enables trusted X11 forwarding. Trusted X11 forwardings are not
subjected to the X11 SECURITY extension controls.
As Craig said, -X is deprecated due to the above ;-)
Cheers
--
Manuel Arostegui Ramirez.
Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.
More information about the users
mailing list