Freia: SSH Tunneling on Linux, macOS, Unix

If you run Linux, macOS, or any other Unix you can easily create a tunnel using the following ssh commands. Note in the example we have fguestN and port 590N. You would replace the N with a number 1,2,3,4, or 5 based on your guest username, e.g., fguest1 and 5901.

1. Open a terminal, and type the following (replacing N with your Number).

   ssh -L 590N:127.0.0.1:590N fguestN@freia.ifa.hawaii.edu

2. Start your vncviewer, and use the following address to connect to. This is the ssh tunnel you have created. We recommend the RealVNC vncviewer.

   localhost:590N