Using VNC with SSH

William Hooper whooper "at" freeshell.org
Sat Dec 20 00:20:01 2003


Rachan Malhotra  said:
[snip]
> ssh -L 5807:localhost:5807 servername
> Then, I open an IE window on my laptop and type the following in the
> URL: http://localhost:5807 <http://localhost:5807/>
> It shows me the VNC authentication page. I give it the password but then
> it shows an error: Network error: could not connect to server:
> localhost:5907
            ^^^^

You need to forward both ports to use the built in http server.

-- 
William Hooper