Skip to content

Commit a2ffa17

Browse files
authored
Update ssh.md
update troubleshooting, inline with relevant info parts
1 parent 792c824 commit a2ffa17

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/access/ssh.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ Before starting, make sure you:
186186
See the [Slurm documentation][ref-slurm] for help on how to allocate a node and start your server on a compute node.
187187
- Know the compute node ID (e.g., `nid006554`) and the port of your running server.
188188

189+
!!! warning "Fast fixes when starting a server or before tunneling"
190+
- Port already in use locally: pick another PORT (e.g., 6007) in both your server and the tunnel command below.
191+
- Auth prompts loop: verify your SSH MFA to CSCS and that your SSH agent is correctly set up and loaded with your keys.
192+
189193
!!! tip "Binding to `127.0.0.1` ensures the service is only reachable via your tunnel"
190194

191195
To open the tunnel from your local computer:
@@ -208,6 +212,9 @@ With the service running and the tunnel open, you can now reach your service loc
208212
- Browser: `http://localhost:PORT`
209213
- Terminal: `curl localhost:PORT`
210214

215+
!!! warning "Fast fix if the service doesn’t respond locally"
216+
- Service not responding: ensure the server binds to 127.0.0.1 and is running on the compute node; confirm NODE matches your current Slurm allocation.
217+
211218
To clean up afterwards:
212219
- Stop the server (Ctrl-C on the compute node shell).
213220
- End the Slurm allocation:
@@ -216,11 +223,6 @@ To clean up afterwards:
216223
```
217224
- Close the tunnel (Ctrl-C in the tunnel terminal).
218225

219-
### Common troubleshooting (fast fixes)
220-
- **Port already in use locally:** pick another `PORT` (e.g., 6007) in both server + tunnel.
221-
- **Service not responding:** ensure the server binds to `127.0.0.1` and is running on the compute node; confirm `NODE` matches your allocation.
222-
- **Auth prompts loop:** verify your SSH MFA to CSCS and the correct setup of the ssh agent.
223-
224226

225227
[](){#ref-ssh-faq}
226228
## Frequently encountered issues

0 commit comments

Comments
 (0)