Step-by-step guide
Pre-requisite: please create a ssh config file .ssh/config adapting the template below.
Host ela HostName ela.cscs.ch User <username> IdentityFile ~/.ssh/cscs-key Host daint-ela Hostname daint.cscs.ch User <username> IdentityFile ~/.ssh/cscs-key ProxyJump ela Host eiger-ela Hostname eiger.cscs.ch User <username> IdentityFile ~/.ssh/cscs-key ProxyJump ela
Note:
- The ssh config file can be written in many different ways, the template above is for your reference only
- The
<username>in the above snippet needs to be configured with your cscs username - The naming convention for
Hostis given asdaint-elaoreiger-elaas an example: please adjust it to your own preference
Please follow the steps below (the first two steps are required if you are connecting for the first time or if the downloaded keys got expired):
- Log in to the SSHService web application to generate keys and download (or) or download the keys using the sshservice-cli
- Make sure the downloaded keys are copied to the folder
~/.sshwith namescscs-keyandcscs-key-cert.pub. The permission ofcscs-keyshould be set as 600 - Connect to Piz Daint or Eiger via the frontend Ela using the commands below:
ssh daint-ela OR ssh eiger-ela