Re: Tunneling to a third host



"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

.



Relevant Pages

  • Re: setting up RD without a VPN connection ?
    ... Remote Desktop only needs TCP Port 3389. ... > The PC in Brazil (the host) is connected via radio internet connection. ... The client cannot connect to the host. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: UDP Client Problem
    ... If library you use don't return you peer host IP/port that mean that you ... On return it doesn't automaticaly has the source ip and port (that what i ... mentioning the client port and ip in my server code but still i am getting ...
    (microsoft.public.win32.programmer.networks)
  • RE: application for an employment
    ... scanned a publicly available host. ... First off, I put "port scan" in quotes, meaning that, in concept, the two ... attempt to create a 1:1 equality between client connects and a port scan. ... Rights are rights. ...
    (Security-Basics)
  • Re: Complicated routing/SSH-FTP tunneling problem
    ... # client$ ssh -L port:host:hostport server ... # Talking to 'port' on client, ... # everything to 'hostport' on host: ...
    (freebsd-questions)
  • Tunneling to a third host
    ... i am on a windows box using ssh.com's ssh client. ... my linux box (host) at work does not have a open port to the internet ...
    (comp.security.ssh)