Problem using PuTTY and Dropbear for port forwarding (ssh tunneling)
- From: rikrik31@xxxxxxxxxxx
- Date: Tue, 9 Sep 2008 14:00:13 -0700 (PDT)
Hi all,
I'm trying to do the following:
I have a couple of 'client' pc's that are behind routers. I want to be
able to connect to them (using VNC) from anywhere when needed without
having to open up ports on the routers.
My plan is to let those clients set up and keep open an SSH connection
to a server on the Internet that I have access to (running Dropbear as
an SSH server).
The clients I want to take over, are running a startup script creating
the connection and keeping it open. Over the connection, a tunnel is
then created from client port X, to server port Y. From my PC I then
create an SSH connection to the server and create a tunnel from PC
port Z to server port Y.
I'm currently testing this setup using two Windows pc's and a Linux
server (running Dropbear) in my own network, and using PuTTY. One pc
(A) is running ultra VNC. The other PC (B) is running the vnc viewer.
I use PuTTY to create an SSH connection from PC A to the server and
create a *remote* forward from server port X to PC A, port 5900 (this
is where ultra VNC is listening).
Then, I use PuTTY to create an SSH connection from PC B to the server
and create a *local* forward from PC B, port 5900 to server port X.
Then, I fire up Ultra VNC viewer on PC B and connect it to '<ip
address PC B>::5900'.
Now, I'm getting a connection error, saying something about a protocol
error.
I can connect directly from PC B to PC A fine ('<ip address PC A>::
5900').
Does anyone have a clue about what I'm doing wrong or forgot to do?
Kind regards!
.
- Follow-Ups:
- Prev by Date: Re: ssh, option -t
- Next by Date: Re: how to supply sftp with password?
- Previous by thread: Re: ssh, option -t
- Next by thread: Re: Problem using PuTTY and Dropbear for port forwarding (ssh tunneling)
- Index(es):
Relevant Pages
|