Re: [SLUG] SSH forwarding

From: Kwan Lowe (kwan@digitalhermit.com)
Date: Mon Aug 01 2005 - 11:51:53 EDT


Tevfik Yücek wrote:
> Hi all,
>
> I am trying to ssh to my linux machine and run x applications. I've
> enabled X forwarding in sshd_config and restarted ssh.
>
> X11Forwarding yes
> X11DisplayOffset 10
>
> Everything is fine when I use "-X" switch to ssh (ssh -X -l yucek
> mycompname). However, when i dont use that switch, the DISPLAY
> variable is not set and can not open X applications. Well I can set it
> manually ofcourse.
>

In your /etc/ssh config directory (or /usr/local/etc) there are two
files: sshd_config and ssh_config. The former controls incoming
connections, the latter is for outbound client connections. Make sure
that ssh_config has X11Forwarding enabled also.
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:35:14 EDT