How do I tunnel VNC connections over SSH?
上一篇 /
下一篇 2006-08-10 17:44:56 / 天气: 晴朗
/ 心情: 高兴
/ 个人分类:系统管理
How do I tunnel VNC connections over SSH?
1.windows with putty and vnc-client.
a.open the putty,and set the ip,switch to tunnel,and create a local tunnel
5904
localhost:5904 ,then add.
b,switch to session,save the setting.
2.linux based system.
a.on first terminal:ssh -L 590X:127.0.0.1:590X -N -f -l username servername
b.on the second terminal:
Replace the X's with the display number the VNC server is running on. For example, if the VNC server was running on display 1, you would specify 5901.
In your VNC client, instead of connecting directly to the VNC server, connect to "127.0.0.1:590X", again replacing X with the appropriate display number. This will tunnel the connection over SSH, providing greatly enhanced security.
导入论坛
收藏
分享给好友
管理
举报
TAG:
系统管理