Ik wil VNC laten werken over SSH, om zo op een veilige manier een server over te kunnen nemen. Op de server heb ik een SSH-server werkend. Door putty te starten op een computer in hetzelfde netwerk kan ik een SSH verbinding maken en inloggen, dan krijg ik de inhoud van de c-schijf te zien in putty.
Nu wil ik door de SSH tunnel VNC gebruiken om zo het systeem te beheren. Bij VNC ( http://www.uk.research.att.com/vnc/sshvnc.html ) staat een uitleg, maar die slaat op linux en verder heb ik ook wel een en ander gevonden ( http://www.mindspring.com.../openssh_for_windows.html ) dat je ssh moet starten met een aantal parameters en tightvnc (die gebruik ik, zowel client als server) moet aanpassen: "Okay, you’ve installed VNC and OpenSSH. Now what do you do? Since you’re adding SSH the first thing is to go to the VNC server and check Allow loopback and Allow only loopback connections. As a note, you now will be unable to connect to your VNC server without SSH."
"SSH in its basic form is ready on the server, To log in from your client machine, shell out to a command prompt and type ssh -l username -L 5900:localhost:5900 hostname
This should connect you to your server (notice first time connections will ask you to add the host to known_hosts. Say yes. It will also ask for a passphrase if you provided one. Observe if it says passphrase or password If it asks for password, something is worng with your key exchange.. If you have problems add -v to see what is going on.(note you can add up to three -v’s) ssh -v -l username -L 5900:localhost:5900 hostname"
echter hier zit ik dus vast... kan iemand mij vertellen hoe ik dus TightVNC over SSH de verbinding laat maken met de server? ik heb zitten zoeken maar ben het dus niet tegen gekomen.
Nu wil ik door de SSH tunnel VNC gebruiken om zo het systeem te beheren. Bij VNC ( http://www.uk.research.att.com/vnc/sshvnc.html ) staat een uitleg, maar die slaat op linux en verder heb ik ook wel een en ander gevonden ( http://www.mindspring.com.../openssh_for_windows.html ) dat je ssh moet starten met een aantal parameters en tightvnc (die gebruik ik, zowel client als server) moet aanpassen: "Okay, you’ve installed VNC and OpenSSH. Now what do you do? Since you’re adding SSH the first thing is to go to the VNC server and check Allow loopback and Allow only loopback connections. As a note, you now will be unable to connect to your VNC server without SSH."
"SSH in its basic form is ready on the server, To log in from your client machine, shell out to a command prompt and type ssh -l username -L 5900:localhost:5900 hostname
This should connect you to your server (notice first time connections will ask you to add the host to known_hosts. Say yes. It will also ask for a passphrase if you provided one. Observe if it says passphrase or password If it asks for password, something is worng with your key exchange.. If you have problems add -v to see what is going on.(note you can add up to three -v’s) ssh -v -l username -L 5900:localhost:5900 hostname"
echter hier zit ik dus vast... kan iemand mij vertellen hoe ik dus TightVNC over SSH de verbinding laat maken met de server? ik heb zitten zoeken maar ben het dus niet tegen gekomen.