SUMMARY: ssh port fowarding question

From: stan <>
Date: Thu Mar 14 2002 - 11:00:53 EST
This worked like a charm!

Thanks for all the helpful fast replies!
----- Forwarded message from Brett Lymn <> -----

From: (Brett Lymn)
To: (stan)
Subject: Re: ssh port fowarding question
Date: Fri, 15 Mar 2002 00:58:24 +1030 (CST)
X-Mailer: ELM [version 2.5 PL2]

According to stan:
>I want to run, say admintool on WP550, and have it's dislay be on brown.
>AP550 can route to brown, and WP550 can route to AP550, but not brown.

ok on AP550, do this:

ssh -R 6002:brown:6000 WP550

then in the resulting shell on WP550 set the DISPLAY environment
variable to be:


What you are doing is setting up a port on WP550 that listens on the
screen 2 port for X (port 6002), all traffic on that port will be
forwarded to brown:0.0 (port 6000).  You may have to play with xhost
or xauth to allow the X access.

Brett Lymn, Computer Systems Administrator, BAE SYSTEMS

----- End forwarded message -----

"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin
sunmanagers mailing list
Received on Thu Mar 14 10:00:16 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:36 EST