Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 18-03-2007, 02:23   #1
mejinks
Magners
 
mejinks's Avatar
 
Join Date: Jul 2006
Posts: 2,865
Default using vnc through SSH

In words of one Syllable and written for an idiot, can someone tell me how you get VNC working through SSH? What SSH is best (easiest to use)?
__________________

Quote:
Originally Posted by Piggy
HAHAHAHA !!!! .. perhaps I should try my bum instead *ponders*
mejinks is offline   Reply With Quote
Old 18-03-2007, 02:32   #2
Mark
Screaming Orgasm
 
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
Default

For a Windows SSH client, I'd use PuTTY. I've yet to find anything better.

As for VNC, that's called 'tunnelling'. You configure your SSH client to accept connections to local ports and forward that data to a machine (doesn't have to be the one you make an SSH connection to) on the remote network.

For example, you can configure your SSH client to accept connections to port 5900 (the default for VNC) on your local system, and forward all data to port 5900 on whichever machine you want on the remote network. Once you've done this, you then tell VNC to connect to port 5900 on the local machine (i.e. 'localhost').

In PuTTY, the options are in Connection > SSH > Tunnels.

Last edited by Mark; 18-03-2007 at 02:36.
Mark is offline   Reply With Quote
Old 18-03-2007, 02:46   #3
mejinks
Magners
 
mejinks's Avatar
 
Join Date: Jul 2006
Posts: 2,865
Default

basically, what im attempting is to be able to connect to machines on my network without the insecurities of VNC ie just open ports 5800 and 5900 on my firewall and hope for the best. (I did this and my webserver got pwnd)

Or am I better off going for a software vpn?
__________________

Quote:
Originally Posted by Piggy
HAHAHAHA !!!! .. perhaps I should try my bum instead *ponders*
mejinks is offline   Reply With Quote
Old 18-03-2007, 03:27   #4
Mark
Screaming Orgasm
 
Join Date: Jul 2006
Location: Newbury
Posts: 15,194
Default

I have SSH ports open to the world (outgoing VPN is blocked from work, but SSH isn't), and I've never been 'pwnd' in three years. I do run a pretty tight config though (try and login to my home server without the right keys and you'll get shown the door without even getting near a password).

Opening unsecured VPN certainly carries a risk of a broken server though, as you found out.

Last edited by Mark; 18-03-2007 at 03:30.
Mark is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 19:08.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.