[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: forwarding X11 over ssh

pmiller@unt.edu (Paul Miller) wrote:
>"Joseph A. Martin" wrote:
>>         I maintain a Linux system at our office. Quite frequently I
>> administer this system remotely via ssh. Today I wanted to try running
>> an X app over the SSH link. I passed the '-X' option to ssh which the
>Just in case is was not a typo ;-) 
>The '-x' option disables X forwarding. The '+x' option, which is
>default, enables X forwarding.

[cjw44@riva ~]$ ssh --help
Usage: ssh [options] host [command]
  -l user     Log in using this user name.
  -n          Redirect input from /dev/null.
  -A          Enable authentication agent forwarding.
  -a          Disable authentication agent forwarding.
  -X          Enable X11 connection forwarding.
  -x          Disable X11 connection forwarding.

-X is not necessarily the default, either; see /etc/ssh/ssh_config.

Colin Watson                                           [cjw44@cam.ac.uk]

Reply to: