Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step-by-step guide

Pre-requisite: In the please create a ssh config file write the below  .ssh/config  adapting the template below. 

code
Code Block
languagebash
themeRDark
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:

  1. The ssh config file can be written in many different ways, the template above sample is for your reference only
  2. username in The <username>  in the above snippet needs to be configured with your cscs username
  3. The naming convention for Host is  is given as daint-ela or eiger-ela as an example and it's : please adjust it to your own preference

Step - 1:

...

Please log in to the SSHService web application to generate keys and download (or)

...

or download the keys using the sshservice-cli 

Step - 2: Make sure the downloaded keys are copied to the folder ~/.ssh with names cscs-key

...

  and cscs-key-cert.pub

...

. The permission

...

of cscs-key should be set

...

as 600 

...

The above two steps are required if you are connecting for the first time or if the downloaded keys got expired

...

.

Step - 3: Connect to

...

Piz Daint or Eiger via the frontend Ela using the commands below:

Code Block
languagebash
themeRDark
ssh daint-ela 

OR

ssh eiger-ela

Content by Label
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("kb-connection","kb-how-to-article") and type = "page" and space = "KB"
labelskb-troubleshooting-article


Page properties
hiddentrue


Related issues

                ssh daint-ela 

...