Re: Tunneling to a third host
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 28 Jun 2006 11:57:49 -0400
"SJ" == SnakeyJakey <tom.jacobs@xxxxxxxxx> writes:
SJ> i am on a windows box using ssh.com's ssh client (will call it
SJ> client). my linux box (host) at work does not have a open port to
SJ> the internet but another linux box (gateway) on our network
SJ> does. i can ssh into this box and then from that terminal ssh into
SJ> mine. i have a vnc server running on host
SJ> what i want to do is forward port from client through gateway to
SJ> host so i can vnc directly from client to host. theport the vnc
SJ> server is running on is 5901 and the port i will use on client is
SJ> 5902.
SJ> to add addition problems i have a different username for each box.
SJ> using my ssh clients command window in windows, ssh2.exe, i have
SJ> tried the following:
SJ> ssh2 -L 5902:host_user@host:5901 gateway_user@gateway
SJ> this asks me for my gateway username and appears to log me into
SJ> this. no pass for host_user is asked for and it appears that no
SJ> ports have been forward, atleast not to host. is there anyway of
SJ> telling in linux if ports have been forwarded?
telnet localhost 5902
The "host_user@" should not be there; there is no authentication involved
in making a TCP connection. VNC will run on top of that and do whatever
authentication is needs to.
--
Richard Silverman
res@xxxxxxxx
.
- Follow-Ups:
- Re: Tunneling to a third host
- From: SnakeyJakey
- Re: Tunneling to a third host
- References:
- Tunneling to a third host
- From: SnakeyJakey
- Tunneling to a third host
- Prev by Date: Tunneling to a third host
- Next by Date: How to specify identity with forwarded agent?
- Previous by thread: Tunneling to a third host
- Next by thread: Re: Tunneling to a third host
- Index(es):
Relevant Pages
|
|