User Tools

Site Tools


skill-tree:use:1:5:b

**This is an old revision of the document!**

USE1.5-B Remote Access

Background

A HPC system is accessed remotely and has its own file systems that contain data and programs to execute. Learning the ways of general interaction with the remote system and tools involved is essential for newcomers.

Users must connect to a HPC system typically using the Secure Shell (SSH) which then starts a shell and allows for interactive access. When the user disconnects such a session is terminated. Starting of a server-sided session that persists after disconnection enables to execute long-running programs remotely and allows to seamlessly continue on a previous session. Data transfer between a local users system (e.g., desktop or laptop) and remote system requires special tools and allows even for interactive access.

Tools discussed are generally valid for user systems using Linux, Mac, and Windows but also mobile devices.

Aim

  • To understand how to access a remote server and transfer data.

Outcomes

  • Describe how SSH-authentication works
    1. Password authentication
    2. Public-Key authentication
    3. The role of an authentication agent and the security implications
  • Generate an SSH public/private key under Linux
  • Register a key for public-key authentication using ssh-copy-id
  • Perform a remote login from Linux using SSH
  • Know when to use and how to create a config file
  • Utilize tools to transfer data between local and remote system
    1. scp
    2. sftp
    3. rsync (-avz)
  • Describe how SSHFS allows to mount a remote directory to a local directory for interactive usage (Mac/Linux only)
  • Utilize screen and tmux to preserve a session between logins
    1. Creation of a session
    2. Detaching from the current session
    3. Resuming a previous session

Subskills

skill-tree/use/1/5/b.1591543416.txt.gz · Last modified: 2020/06/07 17:23 by luciana