You are here

Remote Access to ENCS Office machines Via UltraVNC

This document demonstrates the procedure how to connect to office machines from home. UltraVNC is used for this remote access purpose. Please be noted that, before the connection is established, there are 20 seconds delay and a message will pop-up on the office machine.

 

On the Home machine

1. Establish SSH tunnel

An SSH tunnel is necessary to ensure secure communication between the two machines.   Putty will be used as the SSH client software to establish an SSH tunnel.  You can download Putty here. You don't need to install the program; just save the executable in a convenient place like the Desktop.

Note: Next time you do this, you can simply click the Session Name->Load->Open to establish the SSH tunnel. 

  1. Double-click the icon of Putty on the Desktop to launch it.
  2. In the Category pane of the application window, select the "Tunnels" option found under Connection->SSH.
  3. In the main pane, in the "Add new forward port " section, do this:
    1. Source port: 5900
    2. Destination: type the host name of the machine you are remotely connecting to, followed by a colon and then the port number (ex: venus.encs.concordia.ca:5900)
    3. Click the Add button.

    This is the image of how it should look assuming you're trying to connect to an office machine called venus.encs.concordia.ca:

  4. In the Category pane, click on "Session" at the top and:
    1. Enter the hostname of the machine through which you want to establish your tunnel (use login.encs.concordia.ca).
    2. Select SSH as your protocol. This would set the port number to 22.

  5. Click Save.
  6. Click Open. If Putty warns you about keys, you can click Okay.
  7. Enter your ENCS username and password when prompted.

 

2. Invoke UltraVNC

You should have UltraVNC installed on your home machine in order to continue this process. Fortunately, we have UltraVNC installed on every ENCS office/research machines. You just need to copy this folder at 'C:\Program Files\UltraVNC' and place at the same location on your home machine.

  1. Once you have that, go to the UltraVNC folder where you place it on your home computer and invoke VNCViewer.
  2. On the pop-up VNC Viewer, enter

  • VNC Server: localhost::5900
  • Make sure option DSMPlugin was checked
  • Connect

  1. On VNC Authentication, enter your ENCS username and password