ok so heres how i do it. I use the cygwin sshd which takes a little to setup but shouldn't be too different . Assuming you have vnc running on both computers(this works even if oyu don't) open a command window and bring it to the directory of putty. type putty.exe -L 5901:127.0.0.1:5900 [EMAIL PROTECTED] or just ip. that takes care of the tunneling(you can batch script that nicely) and then in your veiwer type
localhost:1 and it should work. Failed tunnel messages generally mean there is no service listening on the other side from what i have seen. --phoenix____________________________________________________________ Message: 1 Reply-To: <[EMAIL PROTECTED]> From: "Munsie" <[EMAIL PROTECTED]> To: <[email protected]> Subject: Putty, SSH, VNC cant connect Date: Tue, 21 Jun 2005 23:21:51 +1000 Hi All I've used VNC extensively for a few years and have never had a problem, at least one that couldn't be solved, I've now got one. From home I can use VNC to connect to PCs at work over a company setup VPN, works great. I have also used it to assist my father in law, ADSL my end and dialup his end, painfully slow but successful. What I'm trying to do now is reverse it and connect to home from work and from other peoples PCs. I want to be able to download the VNC Viewer and Putty, both small so it will be quick and nothing to install on their PCs. I have forwarded 3 ports through my router, work PC port 5900 to home PC port 5900. Port 80 work to home PC port 22 and port 22 work to home PC port 22. I have done it this was as some places block certain ports but rarely port 80. I can connect to my home PC over port 5900 but don't like the lower level of security, to make it much safer I would like to do it using SSH. I have setup Winssh on my home PC as a service and can successfully connect using Putty, what I can't do is then use VNC over it. The session stays open for hours, I have tried for many hors to get it working. I have changed VNC to allow loopback, if I use IP:0 I get a repeating image of my desktop, but when I use other ports, as per many helpful instructions, I can't get VNC to connect. If I drop all firewalls and connect directly using just the IP it works. The Error I get from UltrVNC, the one I'm trying with at the moment is Connection failed - Error reading Protocol Version Possible causes: - You've forgotten to select a DSMPlugin and the Server used a DSMPlugin - Viewer and Server are not compatible (they use a different RFB protocols) - Bad connection I have also tired using a different SSH server WINSSHD and Tunnelier, works well but very expensive and requires it to be installed, not what I want either way. The errors I get using it and trying to use Putty and VNC is [062] WinSSHD 3.28d: Session thread 1031 for user domainname\username from 192.168.2.2:1413: Client-side C2S forwarding: Attempt to forward connection from client-side-connection:0 to localhost:5904 failed: Connect() failed: Error code 10061, description: No connection could be made because the target machine actively refused it. Anyone please help, I know it should work Thanks in advance Munsie --__--__-- ______________________________________________________ _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
