SSH Connection using a terminalΒΆ

SSH (Secure Shell) is a network protocol that allows for secure access to a computer over an unsecured network. This is the protocol for connecting to the CRCD login nodes.

As with any of the other methods for connecting to CRCD resources, you should start by ensuring you have a proper connection to the GlobalProtect VPN. With this connection established, you can proceed with the steps below.

Clients running Windows can use MobaXterm or PuTTY to access a terminal emulator. Clients running MacOS can use the built-in Terminal app (in Applications/Utilities) or iTerm2.

To render graphics from the remote session, you will also need an X server on your client. MobaXterm comes bundled with an X server. For MacOS, you will need to install XQuartz.

Here are the connection details:

  • connection protocol: ssh
  • remote hostname: h2p.crc.pitt.edu or htc.crc.pitt.edu
  • authentication credentials: Pitt username (all lowercase) and password

The syntax to connect to the CRCD login node from your terminal commandline is

ssh -X username@h2p.crc.pitt.edu

where username is your Pitt username in lowercase and the answer to the prompt is the corresponding password. The -X option enables X forwarding for applications that generate a GUI such as xclock. If you encounter success, this is what your MobaXterm will look like

GETTING-STARTED-MAP

If you encounter success, this is what your MacOS client session will look like

GETTING-STARTED-MAP

Definitions

  • terminal emulator -- a software program that provides a text-based interface to the system, allowing users to type commands into a shell prompt to run programs and to manage files without a graphical user interface (GUI)
  • Linux shell -- a text-based user-interface that interprets user commands and scripts. CRCD supports bash and csh, with bash being the default
  • Linux commandline -- this is the shell prompt line where your cursor is highlighted and where you input commands to the remote host