开发者

SSH tunneling puzzle

开发者 https://www.devze.com 2023-04-05 17:13 出处:网络
I am trying to tunnel vnc through putty (on win vista) to an ssh server on fedora 14. Normal vnc connections work but the tunnel just terminates immediately. My server config file:

I am trying to tunnel vnc through putty (on win vista) to an ssh server on fedora 14. Normal vnc connections work but the tunnel just terminates immediately. My server config file:

VNCSERVERS="2:Robert 3:Christina 4:Lan 5:Simon" VNCSERVERARGS[2]="-geometry 1280x800 -loc开发者_JS百科alhost" VNCSERVERARGS[3]="-geometry 1280x800 -localhost" VNCSERVERARGS[4]="-geometry 1280x800 -localhost" VNCSERVERARGS[5]="-geometry 1024x600 "

Nothing of significance is being been reported in any of the logs except for the sshd log on the server which prints out one of the following lines: sshd[8993] error connect_to 192.168.1.64 port 5902: failed except I'm actually not trying to connect to 5902. whichever port I try to tunnel to gives the same error.


Problem solved! It turned out that having the having the standard vnc ports forwarded as well as the ssh ports forwarded was causing the issue somehow. (I don't understand how or why at the moment)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号