vnc ssh tunnel problems
From: Edward (egoduk_at_NOSPAM_hotmail.com)
Date: 02/17/04
- Next message: Owen Dunn: "Re: PuTTY 0.54 hangs intermittently on Windows 2000"
- Previous message: Bruce: "PuTTY 0.54 hangs intermittently on Windows 2000"
- Next in thread: Per Hedeland: "Re: vnc ssh tunnel problems"
- Reply: Per Hedeland: "Re: vnc ssh tunnel problems"
- Reply: Per Hedeland: "Re: vnc ssh tunnel problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 17 Feb 2004 15:32:32 -0000
I have 3 computers on my LAN
WinXP PC (192.168.6.2) VNC server
Win98 Laptop (192.168.6.8) VNC client
Solaris 8 server (192.168.6.4) SSH server
The laptop can establish a VNC connection to the VNC server running on the
pc.
Both the pc and the laptop can connect via SSH to the Solaris server.
I would like to tunnel the VNC connection through the SSH server.
I've tried:
PC connection to SSH server:
ssh -C -l root -R 5900:192.168.6.2:5900 192.168.6.4
which I believe reads:
Connect using compression as user root. Forward the local port 5900 on the
ssh server to port 5900 on the PC (VNC server)
(i.e. any connections made to the SSH server on port 5900 are effectively
made to the PC on port 5900??)
Laptop connection to SSH server:
ssh -C -l root -L 5900:192.168.6.8:5900 192.168.6.4
which I believe reads:
Connect using compression as user root. Forward the local port 5900 on the
laptop to port 5900 on the SSH server
(i.e. any connections made to the laptop on port 5900 are effectively made
to the SSH server on the same port??)
On the VNC server HKEY_LOCAL_MACHINE\Software\ORL\WinVNC3\Default
AllowLoopback is set to '1'.
I was hoping this would be enough to get it all working but, when I launch
VNC viewer on the laptop and attempt to connect to 'localhost', the VNC
connect box simply disappears.
The ssh connection from the laptop to the ssh server was made with 2 levels
of verbose logging. During the VNC localhost connection attempt, it output:
# debug1: Connection to port 5900 forwarding to 192.168.7.8 port 5900
requested
.
debug2: fd 8 setting TCP_NODELAY
debug2: fd 8 is O_NONBLOCK
debug2: fd 8 is O_NONBLOCK
debug1: channel 2: new [direct-tcpip]
#
I've tried snooping packets on the network but I'm not really sure what I'm
looking for. It would seem though that there is no SSH traffic between the
SSH server and the VNC server(PC) when the Laptop attempt the VNC tunnel
connection (SSH traffic can be seen between the laptop and the SSH server).
Could this be a problem with my SSHD setup?
Any help appreciated!
Thanks,
Edward.
(remove NOSPAM etc etc)
- Next message: Owen Dunn: "Re: PuTTY 0.54 hangs intermittently on Windows 2000"
- Previous message: Bruce: "PuTTY 0.54 hangs intermittently on Windows 2000"
- Next in thread: Per Hedeland: "Re: vnc ssh tunnel problems"
- Reply: Per Hedeland: "Re: vnc ssh tunnel problems"
- Reply: Per Hedeland: "Re: vnc ssh tunnel problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|