Tunneling to a third host
- From: "SnakeyJakey" <tom.jacobs@xxxxxxxxx>
- Date: 28 Jun 2006 02:11:05 -0700
i am on a windows box using ssh.com's ssh client (will call it client).
my linux box (host) at work does not have a open port to the internet
but another linux box (gateway) on our network does. i can ssh into
this box and then from that terminal ssh into mine. i have a vnc server
running on host
what i want to do is forward port from client through gateway to host
so i can vnc directly from client to host. theport the vnc server is
running on is 5901 and the port i will use on client is 5902.
to add addition problems i have a different username for each box.
using my ssh clients command window in windows, ssh2.exe, i have
tried the following:
ssh2 -L 5902:host_user@host:5901 gateway_user@gateway
this asks me for my gateway username and appears to log me into this.
no pass for host_user is asked for and it appears that no ports have
been forward, atleast not to host. is there anyway of telling in linux
if ports have been forwarded?
if anyone could suggest the correct command to achieve what i want that
would be great
.
- Follow-Ups:
- Re: Tunneling to a third host
- From: Augustus SFX van Dusen
- Re: Tunneling to a third host
- From: Richard E. Silverman
- Re: Tunneling to a third host
- Prev by Date: Re: remote login suddenly not working?
- Next by Date: Re: Tunneling to a third host
- Previous by thread: PuTTY .PPK file
- Next by thread: Re: Tunneling to a third host
- Index(es):
Relevant Pages
|
|