DataScience Workbook / 06. High-Performance Computing (HPC) / 2. Remote Access to HPC Resources / 2.2 Secure Shell Connection (SSH)


Introduction

What is ssh?

  • SSH is short for Secure SHell
ssh (SSH client) is a program for logging into a remote machine and for
     executing commands on a remote machine.  It is intended to provide secure
     encrypted communications between two untrusted hosts over an insecure
     network.  X11 connections, arbitrary TCP ports and UNIX-domain sockets
     can also be forwarded over the secure channel.

On a Mac (OS)

  1. Use the Finder and search for and open the Terminal program .
  2. Type ssh username@hostname
    • Example1: ssh andrew.severin@login.scinet.science
    • Example2: ssh severin@bridges.psc.edu
  3. Hit by ↵ (Enter) key and enter your password and verification code.
    • Note: as you type the password, you will not see your typing.

On a PC (Windows)

On Windows, it will be easier for you to login first to a linux based system for the rest of this tutorial (remote machine). You will first need to open up the command prompt which is similar to a terminal in the Mac OS operating system.

  1. Press windows key + r, type cmd and enter

  • Type ssh usename@hostname
    • Example1: ssh andrew.severin@login.scinet.science
    • Example2: ssh severin@bridges.psc.edu
    • Hit by ↵ (Enter) key and enter your password and verification code.
      • Note: as you type the password, you will not see your typing.
  1. Search for cmd using Window’s search.

Note: The window can be resized with the mouse and the font text can be increased by pressing cmd + or control + on Mac or Windows, respectively.


Further Reading


Homepage Section Index Previous Next top of page