Connecting to your account on the CCH Computational Resources for executing graphical (GUI) programs:

Most programs you will be using on the CCH Computational Resources involve some sort of graphical interaction. This means a simple ssh connection through the terminal is not sufficient. Most networks are fast enough to support executing graphical programs remotely. After completing the ssh key setup, you now need to tell ssh how to transfer GUI traffic over the ssh connection. The method differs depending on your operating system. The approach requires the use of ssh again, which provides authentication, a TCP/IP transport layer for other commands, and encryption of all network traffic between you and the CCH computational resource.

Linux/Mac client with X11 server:

Linux/Mac/Windows client (no X11 server needed):

Older Windows clients without ssh/powershell built-in: (only if the method above does not work)

  1. On Windows, you will need to use putty to perform the port forwarding, and after establishing the ssh connection, you can connect to your remote VNC server using a local, port-forwarded connection. The first step is to open putty and create a session and configure it:
  2. Create a connection and give it a name that makes sense to you and save it by clicking o the Save button. Next, find +SSH in the left configuration panel and navigate to +Auth and enter your private key as described earlier:
  3. Next, you need to install the port forwarding rule for this session. Here you need to forward a remote VNC display that was assign to your user account to a local port on your system. Navidate to +SSH and Tunnels:
  4. The purpose for port forwarding is that a secure channel can be used to tunnel the VNC program's commands, and then a local VNC client can be used to interpret the vnc messages into a graphical representation on the local computer. Since only vnc messages are sent, and not entire graphics, the local vncviewer would be faster than the approach discussed here. To add a tunnel to your ssh-VNC session, enter the localhost's IP address (this is always under Destination, followed by a ":" character and the destination port. If you aren't serving another VNC session from your local host, you could just forward to your 5901 port (all VNC ports start from port 5900, where 5900 (display :0) is your local computer's window manager, and 5901 would be display :1. The source port on the remote ssh connection would be the display number assigned to your account on the CCH compute resource. Assuming it is display :3, then the associated source port would be 5903. Enter that under Source Port and click on Add:
  5. Next, you can also add compression to speed up your connection even more. Highlight the +SSH option in the left panel and check Enable Compression:
  6. Finally, navigate back to the Session tab and save your session once more to make sure all changes are committed and saved to your session:
  7. Mext, open this session and connect to vnc. I recommend to use TightVNC as your client. To connect, open the TightVNC viewer and enter the local destination address: