Group: comp.os.linux.networking


Subject: X forwarding
From: Keith Keller
Date: 10/18/2007 3:34:24 PM
On 2007-10-18, Hactar <ebenZEROONE@verizon.net> wrote: > OK. I use a laptop at school (where I am now). It connects to a > wireless network (802.11g). They (admin.$SCHOOL.edu) have blocked the > port (<1024) to which I have sshd forwarded (I no longer leave it at > 22). But, I can ssh to $OTHERMACHINE.$SCHOOL.edu, get a shell prompt, > and from there ssh to $HOME. The question is, is there any way to send > an X display through this? Occasionally, it's handy to run a graphical > app at home and have it display here. Just turn on X11 tunnelling for both ssh sessions. --keith -- kkeller-usenet@wombat.san-francisco.ca.us (try just my userid to email me) AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt see X- headers for PGP signature information

Subject: X forwarding
From: Keith Keller
Date: 10/18/2007 4:47:23 PM
On 2007-10-18, Bonsai Bonanza <nntp@NoSpam-BonsaiBonanza.com> wrote: > Hactar wrote: >> OK. I use a laptop at school (where I am now). It connects to a >> wireless network (802.11g). They (admin.$SCHOOL.edu) have blocked the >> port (<1024) to which I have sshd forwarded (I no longer leave it at >> 22). But, I can ssh to $OTHERMACHINE.$SCHOOL.edu, get a shell prompt, >> and from there ssh to $HOME. The question is, is there any way to send >> an X display through this? Occasionally, it's handy to run a graphical >> app at home and have it display here. > > ssh -X -C <hostname> > run "xclock" > and it should show up on your screen. ...through *both* hosts. > make sure it is enabled on the server: > grep X11 /etc/sshd/sshd_conf ...on *both* hosts (the OP probably doesn't have access to verify that it's enabled on the school's servers, so he'll just have to try it). BTW, to the OP, don't followup another post to make a new thread. Create a new one, so that threading news agents don't bury your message in another thread. --keith -- kkeller-usenet@wombat.san-francisco.ca.us (try just my userid to email me) AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt see X- headers for PGP signature information

Subject: X forwarding
From: Keith Keller
Date: 10/18/2007 8:06:24 PM
On 2007-10-19, Bonsai Bonanza <nntp@NoSpam-BonsaiBonanza.com> wrote: > > It [X11 forwarding] is an option on the server side. It is also an option on the client side. If it's set to no in either the global sshd_config or ssh_config on the appropriate side of the connection, forwarding will not be done. (I believe the ssh_config option can be overridden, but of course the sshd_config option can not be overridden.) --keith -- kkeller-usenet@wombat.san-francisco.ca.us (try just my userid to email me) AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt see X- headers for PGP signature information