User Tools

Site Tools


Using SSH

SSH Overview

SSH stands for Secure Shell and provides a safe and secure way of executing commands, making changes, and configuring services remotely. When you connect through SSH, you log in using an account that exists on the remote device.

When you connect through SSH, you will be dropped into a shell session, which is a text-based interface where you can interact with the remote device. For the duration of your SSH session, any commands that you type into your local terminal are sent through an encrypted SSH tunnel and executed on the remote device.

For more information about SSH please click here.

Connecting with SSH to CS Lab Machines

The CS department has made it possible for someone to SSH onto any of the open lab machines; however to access a specific machine you must first be connected to the CS network. This can be done by connecting with SSH through

Schizo is a powerful tool that will drop you onto a range of the open lab machines without needing to connect via the VPN. After successfully connecting using schizo you can ssh into any other machine. For directions on how to connect using schizo please click here.

If you do want to remote into a specific machine, here is a list of all the lab machine names.

Setting Up SSH Keys

You will need to do the following in the Linux terminal to create your SSH keys and register them in FreeIPA:

  1. On your ssh client machine type: ssh-keygen -t rsa -b 4096, then press enter.
  2. It will prompt you to create a password. This is optional, but arguably more secure. If you choose to create a password, it will have you enter it twice for confirmation. The key pair is then generated and saved to ~/.ssh/ in your home directory. Note: this folder is hidden. In order to see it you will have to use ls -a in the terminal or hit Alt+. to toggle “show hidden files/folders” in the file browser (Dolphin).
  3. Open the file ~/.ssh/ in a text editor/viewer (Atom, Kate, vim, less, cat, etc.). Copy its contents to the clipboard/buffer.
  4. In your web browser, go to and log in with your CS Account credentials.
  5. Back in the browser, click the Add button next to the label “SSH public key”. Paste the clipboard/buffer contents into the blank that appears.
  6. Click the Save button up underneath your username on the page to save the changes you have made.
  7. Log out of the website by clicking your name in the top right corner of the page and selecting “Logout”.
  • Alternatively, you can add the key to ~/.ssh/authorized_keys on a labmachine with one key per line.
  • ssh-copy-id [your-username]@[labmachine] from the machine your key is on is also a handy way of adding your key to the authorized_keys file.

See Also:

setting_up_ssh_keys.txt · Last modified: 2020/08/31 10:46 by kwalker