You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/clusters/cscs.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Please ask [Michael](mailto:michael.zhang@epfl.ch) or [Peter](mailto:peter.ahumu
12
12
13
13
## Connect to the login node
14
14
15
-
To connect to the login node, you will need to refresh your key every 24 hours. To refresh your keys, you need to execute the following script. Make sure to replace `$CSCS_USERNAME` with your CSCS username and the `$CSCS_PASSWORD` with your CSCS password.
15
+
To connect to the login node, you will need to refresh your key every 24 hours. To refresh your keys, you need to execute the following script. Store the following script in a `.sh` file (e.g. `cscs_connect.sh`). Make sure to replace `$CSCS_USERNAME` with your CSCS username and the `$CSCS_PASSWORD` with your CSCS password.
16
16
17
17
```bash
18
18
#!/bin/bash
@@ -184,7 +184,7 @@ eval `ssh-agent -s`
184
184
ssh-add -t 1d ~/.ssh/cscs-key
185
185
```
186
186
187
-
We strongly suggest to store this script in a file as you will have to execute it every day. If you don't want to have your login ID stored in a script, you can comment out the lines:
187
+
You will have to execute this bash script every day. If you don't want to have your login ID stored in a script, you can comment out the lines:
188
188
189
189
```bash
190
190
#read -p "Username : " USERNAME
@@ -419,6 +419,7 @@ To launch a non-interactive job, you need to create a sbatch script. Create a fi
0 commit comments