M.Lightning Posted January 22, 2010 Share Posted January 22, 2010 I want to tunnel my vnc and other things through ssh. How do I make ssh listen to certain ports on my server so I can connect remotely through ssh? Quote Link to comment Share on other sites More sharing options...
Charles Posted January 22, 2010 Share Posted January 22, 2010 What I did was lock down the file wall on my linux box. Installed SSH and VNC. I set VNC to listen on Port 5980 I was using PuTTY, so it's probably a little different then if you are SSHing from a terminal. source port set to 5900 destination set to 127.0.0.1:5980 connect with a VNC viewer to 127.0.0.1 More info here: http://www.cyberciti.biz/tips/tunneling-vn...-ssh-howto.html Quote Link to comment Share on other sites More sharing options...
Netshroud Posted January 23, 2010 Share Posted January 23, 2010 Edit the ssh server config to change what ports it listens on. Use PUTTY settings or use -L on the command line to set tunneling settings on the fly. Quote Link to comment Share on other sites More sharing options...
M.Lightning Posted January 26, 2010 Author Share Posted January 26, 2010 I am using Linux. My question is what does the settings for the server have to be and what are the setting for the client? Quote Link to comment Share on other sites More sharing options...
lopez1364 Posted January 26, 2010 Share Posted January 26, 2010 There shouldn't have be any settings changed. All you are asking for is for certain apps to run through your SSH. Then you have to tell your apps to listen on a specific port. For example: -ssh -D 5900 -P 80 [yoursshserver] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.