Lab SSH How-To

Please read everything before attempting to connect.

Before you can connect to a Computer Science lab machine, you must first be connected to UNB's VPN. Instructions on how to install and connect to the VPN are aavailable at the link below:
https://unbcloud.sharepoint.com/sites/ITServices/SitePages/VPN.aspx

Once you have the VPN installed, you may continue with the instructions provided below.


Definitions and Terms


Linux, Mac, and Windows 10 Users

If you are running MacOS, linux (Ubuntu, CentOS, et all), or the latest Windows 10; SSH is likely already installed. If not, use yum (Red Hat, CentOS), apt-get (Debian, Ubuntu), the AppStore (MacOS), or the Manage Optional Features (Windows 10) to install it.

Once you have SSH installed and available, open a terminal window (command prompt in Windows) and type ssh <username>@<host name>. You will then be prompted for your Computer Science password.


(Optional) Putty for Windows

For Windows users, you can choose to download and install the Putty ssh client.

Once you have Putty installed, open the application and type the Host Name into the Host Name field, make sure that the port is set to 22, the connection type is set to SSH, and then click Open. You will then be prompted for your Computer Science username and password once you are connected.

Screen Shot of the Putty Interface


Notes:

Keep in mind that this is a command line environment. If you need access to a GUI you will either need to go to a lab or install an XServer client (already there for Linux clients) and enable X11 forwarding. There are a bunch of tutorials you can Google that cover this topic.