Obtaining an Account for the CCH Computational Resources:

The first step in accessing the CCH computational resources requires you to get a Linux account on the login node. Send a request to Borries Demeler, including your name, office number, preferred unix username, the public IP address of any computer with which you will access the server, and the public portion of a self-generated OpenSSH public/private key pair. In order to access the account, the public portion needs to get installed into the ~/.ssh/authorized_keys file of your new account. This will allow you to log into the server without a password from any computer that has the private key portion. To generate the key pair, please use the following procedure:

This works on a Linux/Mac/Windows10 client, and is the preferred method:

PLEASE NOTE: Any computer's IP address used to connect to a CCH computational resource must first be registered and exempted for access to the system. If you have a laptop that is used from different locations, please be sure to send all IP addresses used to Borries Demeler via email. If you are using your laptop from campus, your IP address is already permitted on the CCH server and no additional action should be needed. If you are on the University of Lethbridge or the University of Montana campus, your address is already exempted. If you connect from home or elsewhere, you need to send your external IPv4 address (format: xxx.xxx.xxx.xxx). If you are on the University of Lethbridge campus, your IPv4 address will start with 142.66.xxx.xxx, at the University of Montana campus your address will start with 150.131.xxx.xxx. Those three-digit numbers will be between 0-254. You can find out what your static IP is by connecting to http://whatsmyip.com.

Windows GUI ssh client (putty):

PLEASE NOTE: This approach is more tedious and not recommended if you can use the commandline approach shown above instead.

  1. Download the putty.exe and puttygen.exe programs from here and install them on your computer. Tell putty to make a desktop shortcut so you can more easily find it later.
  2. Open puttygen.exe an select the "RSA" option and generate OpenSSH public/private key pairs (2048 bits is ok) for your computer:
  3. Click on "Generate" and move your mouse in the blank area to generate randomness. You can edit the comment if you wish, say "laptop-windows", and give a password if you want to secure your ssh keys also with passwords (not strictly required).
  4. Copy the ENTIRE string under "Public key for pasting into OpenSSH authorized_keys file:", it will start with "ssh-rsa AAAA...." and the last string should be your comment:
    ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEA2twIiMMH7bwkG9waU9nwXP5HNtgWjgQ8aO
    PyHI0dukQEgDIKF9D38p95yclhfQ== laptop-windows
    Make sure to scroll because it is larger than what fits into the window. send the public key via e-mail to Borries Demeler.

  5. Click on "Save private key", and store it in a safe place. Call it 'id_rsa'. That's all for puttygen, you can close this program now.
PLEASE NOTE: Due to enhanced security requirements, you will not be able to log into your account with a password, only with a computer that has a matching public/private key pair installed. You can connect from multiple computers, but each computer needs to generate its own public/private key pair, and the public portion of the key needs to be installed in the authorized_keys file, in the .ssh directory of your home directory.