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 (return) 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.

approach 1 approach 2

Press (windows key) + ; type cmd and click .

Search for cmd using Window’s search.

In the terminal window that appears, type:

ssh usename@hostname

providing the credentials for your user:

  • 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.

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.