e1geo
January 23rd, 2007, 01:44 AM
I have set up an ssh server on a system named house and am connecting to it from a system named hog.
My objective is to get trusted Xll forwarding to work using configuration files. It works fine with the -Y command line option but fails with config files. What am I doing wrong? (I am running 6.10 on both systems,) Thanks for your help.
# hostname
hog
# tail -3 /etc/ssh/ssh_config
# 0701
ForwardX11Trusted yes
-------------
# hostname
house
# tail -3 /etc/ssh/sshd_config
# 0701
X11Forwarding yes
root@house:~# /etc/init.d/ssh stop
* Stopping OpenBSD Secure Shell server... [ ok ]
root@house:~# /etc/init.d/ssh start
* Starting OpenBSD Secure Shell server... [ ok ]
-------------
e1geo@hog:~$ ssh house
Linux house 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
Last login: Mon Jan 22 21:12:02 2007 from 192.168.0.12
e1geo@house:~$ echo $DISPLAY
e1geo@house:~$ xclock
Error: Can't open display:
e1geo@house:~$ exit
logout
Connection to house closed.
e1geo@hog:~$ ssh -Y house
Linux house 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
Last login: Mon Jan 22 21:28:10 2007 from 192.168.0.12
e1geo@house:~$ echo $DISPLAY
localhost:10.0
e1geo@house:~$ xclock
[works]
My objective is to get trusted Xll forwarding to work using configuration files. It works fine with the -Y command line option but fails with config files. What am I doing wrong? (I am running 6.10 on both systems,) Thanks for your help.
# hostname
hog
# tail -3 /etc/ssh/ssh_config
# 0701
ForwardX11Trusted yes
-------------
# hostname
house
# tail -3 /etc/ssh/sshd_config
# 0701
X11Forwarding yes
root@house:~# /etc/init.d/ssh stop
* Stopping OpenBSD Secure Shell server... [ ok ]
root@house:~# /etc/init.d/ssh start
* Starting OpenBSD Secure Shell server... [ ok ]
-------------
e1geo@hog:~$ ssh house
Linux house 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
Last login: Mon Jan 22 21:12:02 2007 from 192.168.0.12
e1geo@house:~$ echo $DISPLAY
e1geo@house:~$ xclock
Error: Can't open display:
e1geo@house:~$ exit
logout
Connection to house closed.
e1geo@hog:~$ ssh -Y house
Linux house 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686
Last login: Mon Jan 22 21:28:10 2007 from 192.168.0.12
e1geo@house:~$ echo $DISPLAY
localhost:10.0
e1geo@house:~$ xclock
[works]