Thanks! That worked right out of the box. I didn't realize that the pass-through was to be specified on the connection ssh - I though you'd have to make another ssh call on the intermediate machine. Thanks again!
On Wed, 25 Feb 2004 17:10:22 +0100, Carlyle Sutphen wrote: > > Hi Matthew, > >> "Matthew O. Persico" <[EMAIL PROTECTED]> >> Wed, 25 Feb 2004 00:27:51 -0500 >> Subject: Trying to use VNC with Aventail >> >> On HomeXP: >> >> ssh -l persicom -L 5901:WorkSolaris.mycompany.com:5900 >> WorkNT.mycompany.com >> >> but I get the error >> >> ssh: WorkNT.mycompany.com: no address associated with name > > That is because the syntax is: > > ssh -l <login> -L <listen-port>:<target-machine>:<target-port> > <forwarding-machine> > >> So then I tried: >> >> ssh -l persicom WorkSolaris.mycompany.com >> >> on HomeXP ato get me to the box at work and then on >> WorkSolaris.mycompany.com > > Now, since that works, you only have to insert -L > 5901:WorkNT.mycompany.com:5900 > > ssh -l persicom -L 5901:WorkNT.mycompany.com:5900 WorkSolaris.mycompany.com > > Then you point your vncviewer to localhost:5901 > > That tells ssh on your home machine to contact ssh on WorkSolaris > and ask it to forward > your VNC session to WorkNT:5900. > >> >> ssh -L 5901:localhost:5900 WorkNT.mycompany.com >> >> and the error I get is >> >> ssh: FATAL: Connecting to WorkNT.mycompany.com failed: Connection >> Refused > > This is because you don't have ssh listening on port 22 on WorkNT. > > Cheers, > > Carlyle > > > -- > > Diese E-Mail enthdlt vertrauliche und/oder rechtlich gesch|tzte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese > E-Mail irrt|mlich erhalten haben, informieren Sie bitte sofort den > Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren > sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. > If you are not the intended recipient (or have received this e-mail > in error) please notify the sender immediately and destroy this e- > mail. Any unauthorized copying, disclosure or distribution of the > material in this e-mail is strictly forbidden. -- Matthew O. Persico _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
