[SATLUG] VNC Viewer Via SSH :: Assistance
geoff at w5omr.shacknet.nu
Mon Dec 18 15:06:14 CST 2006
> I set up my servers so that they will only accept a VNC connection
> from locslhost. This wasn't a problem when I was on windows and used
> putty to ssh into my linux boxes. I recently decided to run FC6 on my
> laptop as my primary OS and I'm having trouble establishing a VNC
> connection via ssh.
> The following are commands I've used. I have set up ssh to use an
> alternate port : for eaxmple 9052.
> ssh -p 9052 // works for ssh access
> ssh -p 9052 -N -T -L remoteIP:5952:localhost:5952 //does not work
> ssh -p 9052 -L 5922:remoteIP:5952 // does not work
> I'm using the switches -L to bind to address,
> Thanks in advance.
I've found that the port has to go -next- to the port designator...
ie: ssh -p8052 i.p.address.here -l username
(*note, the 'l' is a lower case L - for login)
More information about the SATLUG