Page History
...
Step-by-step guide
Pre-requisite: In the please create a ssh config file write the below .ssh/config adapting the template below.
| Code Block | ||||
|---|---|---|---|---|
| ||||
Host ela HostName ela.cscs.ch User <username> IdentityFile ~/.ssh/cscs-key IdentitiesOnly yes Host daint-ela Hostname daint.cscs.ch User <username> IdentityFile ~/.ssh/cscs-key ProxyJump ela IdentitiesOnly yes Host eiger-ela Hostname eiger.cscs.ch User <username> IdentityFile ~/.ssh/cscs-key ProxyJump ela |
Note:
...
IdentitiesOnly yes |
Please note that the ssh config file can be written in many different ways, the template above
...
is for your reference only
...
. In particular:
- The
<username>in the above snippet needs to be configured with your cscs username
...
- Adjust to your own preferenceThe naming convention for
Host
...
- given as
daint-elaoreiger-ela
...
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)
...
- download the keys using the sshservice-cli
...
...
- Make sure the downloaded keys are copied to the folder
~/.sshwith namescscs-key
...
- and
cscs-key-cert.pub
...
- . The permission
...
- of
cscs-keyshould be set as
...
- 600
- Connect to Piz Daint or Eiger via the frontend Ela using the commands below:
| Code Block | ||||
|---|---|---|---|---|
| ||||
ssh daint-ela
OR
ssh eiger-ela |
Related articles
| Content by Label | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Page properties | ||
|---|---|---|
| ||
|
Step - 3: Connect to eiger or daint with the command below,
ssh daint-ela
...