02 Connecting to (and navigating in) the JAX HPC environment

Overview

Teaching: 10 min
Exercises: 0 min
Questions
  • How to connect to a remote system?

  • What do I do on the command line?

Objectives
  • Connect to the cluster via terminal and SSH

SSH Basics

The take home from this lesson.

The details on how ssh works.

Example ssh connection for this class

[user@edu-vm-63d1410f-2 ~]$ ssh user@35.227.70.171
The authenticity of host '35.227.70.171 (35.227.70.171)' can\'t be established.
ECDSA key fingerprint is SHA256:UTHv5IOvrF9uvxuh9Fo8uW2bx0BwCRLyrwHhONoiIj8.
ECDSA key fingerprint is MD5:15:bb:25:2a:3a:45:f4:c7:df:21:26:37:12:66:79:77.
Are you sure you want to continue connecting (yes/no)?

SFTP

SFTP stands for secure file transfer protocol and is used to transfer files from one computer to another.

MobaXtem will automatically establish and sftp session when ssh’ing into a remote system. It is visible as a yellow globe on the left hand side of the MobaXterm terminal.

Key Points

  • ssh is the preferred way to connect to linux servers

  • ssh is secure and protects information sent

  • sftp available in a command line application and in GUI based applications for file transfers