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)
-
Use the Finder and search for and open the Terminal program .
- Type
ssh username@hostname
- Example1:
ssh andrew.severin@login.scinet.science
- Example2:
ssh severin@bridges.psc.edu
- Example1:
- 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 ( |
Search for |
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.
Further Reading
SSH shortcuts and password-less loginOpen On Demand (OOD) Connection (web-based GUI)
Setting up your home directory for data analysis
Software Available on HPC
Introduction to job scheduling
Introduction to GNU parallel
Introduction to containers
MODULE 07: Data Acquisition and Wrangling