I've only done this with zebedee and Windows to Windows but in Windows at least the default setting is loopbacks are not allowed, I turn it round so that loopbacks are compulsory which means that connections can only come thru the tunnel :-)
On 24 Mar 2003 at 14:58, William Hooper wrote: > Vidar Remi Jensen said: > > I'm sorry but I'm going to bring up a problem which has been > > subjected to much discussion already: VNC and SSH. I've read these > > previous discussions and tried the prescriptions, but I probably > > missed something. Here's the problem: > > > > I want to run the VNC viewer on a windows PC (alice) and connect to > > a unix machine (bob) running the VNC server (and the ssh daemon). > [snip] > > > > When I specify something like: > > ssh -L 5951:localhost:5901 bob > > and start the viewer with > > localhost:51 > > The following error message shows up in the VNC server logfile on > > bob: 24/03/03 17:20:59 Refused connection from client 127.0.0.1 > > > > I've been trying other tricks as well, with no luck, so I'm grateful > > if someone comes up with an idea as to the problem. > > > > Thanks in advance, > > Vidar R. Jensen > > Since VNC is logging the connection attempt, it seems your SSH tunnel > is working correctly and VNC is refusing the connection. > > A Google search shows some people with early 7.x versions of RedHat > complaining of this problem, what unix you running on Bob? Also, what > version of VNC? > > Another thought would be that "-dontdisconnect" is set and VNC thinks > someone is already connected, but at least in version 3.3.7 of VNC it > is more verbose if that is the case. > > You could try using "bob" to connect rather than localhost, but since > you mention that bob only accepts encrypted sessions, I doubt this > will work: > > ssh -L 5951:bob:5901 bob > > -- > William Hooper > _______________________________________________ > VNC-List mailing list > [EMAIL PROTECTED] > http://www.realvnc.com/mailman/listinfo/vnc-list ----------------------------------- Peter Ball Computers For Linguists [EMAIL PROTECTED] Tel: +44(0)20 7732 1741 Fax: +44(0)20 7358 9214 Mobile: +44(0)77 1968 2913 45 Endwell Road, London, SE4 2PQ, United Kingdom _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
