![]() ![]() You can test your VNC connection as localhost:5901 without SSH tunnel, of course, it should not work. If you did everything ok, you will be prompted for VNC password: Enter it, and confirm with OK We defined it in tunnels section of Putty. Why not IP address or name of the VNC server we are connecting to?īecause we are now tunneling port 5901, and SSH will forward that port from local machine to remote VNC machine we want to connect to. In the address bar you should enter localhost:5901 and confirm with Enter Now, we have established SSH connection to remote server. If everything went ok, you should be looking at the screen like the one above. You can also go back to the Session and click on Save again to also save these changes.Īs I mentioned, return to Session screen in Putty, save these additional changes and click on OpenĬonsole Window will open and ask for credentials of the machine you are connecting to. (VNC covers range of ports, so be sure to know to which VNC port you are connecting)Ĭlick on Add, and its settings should appear in the box above the fields where we entered data. Under Destination enter Remote IP address of VNC server you wish to connect to, and VNC port opened on it. Now, under Category on the left side, choose Connection, SSH and click on Tunnels On Session category, choose SSH as connection type, in Host Name enter address of remote server (in my case 10.20.10.2) and port 22 (or different if you defined different SSH port)Īlso, you can type a name into Saved Sessions and Save it for future use. Remote server which we want to VNC into is on IP address 10.20.10.2 If you don’t have VNC server set, here is another one – Windows & Puttyįirst, we will go through Windows setup and use Putty and VNC viewer. If you don’t have SSH server set, here is the tutorial – This tutorial assumes you have SSH Server and VNC Server installed and set on the server you want to connect to. Better idea is to access VNC through SSH tunnel. VNC is not secure and is unencrypted, so connecting over LAN or internet to VNC server is not the brightest idea.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |