Wednesday, September 26, 2007

SSH tunnel and vnc

Creating an SSH tunnel for secure authentication (Windows)

ssh -N -L 9090:remote-internal-system:80 root@gateway-hostname

and please keep the session on

and vnc to the remote-internal-system:
a. setup vncserver on remote-internal-system
b. vncviewer -via root@gateway-hostname remote-intenal-system
actually this step is the same as ssh tunnel: ssh -f -L 5599:remote-internal-system:5900 root@gateway-hostname

I google a lot, and this is the simplest solution.

No comments: