Skip to main content

Cannot Connect

SSH failures, for root and for named login users.


Start Here

ssh -v root@<cluster-ip>

The verbose output usually names the problem — and confirms which key was offered.

Check three things in the console before anything else:

CheckWhere
The cluster status is RunningDetails tab
The IP you are using is the current oneDetailsConnection Details, or Network & Security
A security group allows inbound TCP 22Network & SecuritySecurity Groups

Connection Refused or Timeout

CauseHow to confirmFix
Port 22 is not openNetwork & SecuritySecurity Groups → expand the group → Inbound RulesAttach a group with an SSH / TCP / 22 rule
The cluster is not RunningThe status pillWait, or Reconfigure Cluster if it is stuck Creating
The IP changedCompare with Connection DetailsUse the current IP, then convert it to reserved
The login service is restartingYou just ran Restart Login Service or an image updateWait a minute and retry
Your own network blocks outbound 22Try from a different networkUse your VPN, or ask your network team
A security group without inbound TCP 22 makes the cluster unreachable

Provisioning succeeds and the cluster runs perfectly — you simply cannot log in. This is the single most common cause of "the cluster is broken". You do not need to recreate anything: attach a group that allows port 22 from Network & Security.

Convert the IP to reserved once, and stop chasing it

A Floating IP can change when the cluster's network resources are recreated, breaking every ~/.ssh/config entry and CI job that hard-codes it. One click on Convert to reserved removes the whole problem.


Permission Denied (publickey)

The cluster is reachable; your key was not accepted.

1. Is the right key being offered?

ssh -v root@<cluster-ip> 2>&1 | grep -i 'offering\|Offering public key'

Be explicit:

ssh -i ~/.ssh/id_ed25519 root@<cluster-ip>

2. Is that key on the cluster?

DetailsConnection DetailsSSH Keys lists them by label. If the key you are using is not there, add it with Actions → Update SSH Keys.

Update SSH Keys replaces the whole set

Keys left out of the selection lose access. The dialog pre-selects the current keys — deselecting one removes it. Keep at least two keys on every cluster so one lost machine is not a lockout.

3. Local key permissions

chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_ed25519

SSH refuses to use a private key that is group- or world-readable.

4. Are you the right user?

ssh root@<cluster-ip>          # the cluster's own keys
ssh janedoe@<cluster-ip> # a Login User Management member

A member's key gets them in as themselves, not as root.

5. Too many keys offered

An agent with many keys can exhaust the server's attempt limit before reaching the right one:

ssh -o IdentitiesOnly=yes -i ~/.ssh/<the-right-key> root@<cluster-ip>
Put it in ~/.ssh/config once
Host slurm-train
HostName <cluster-ip>
User root
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ServerAliveInterval 30

Then ssh slurm-train, with the right key, every time.


Host Key Verification Failed

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Expected after the login node is recreated — a Restart Login Service, an image update, or a reconfigure. Remove the stale entry:

ssh-keygen -R <cluster-ip>

Then reconnect and accept the new key.

Only clear it when you know why it changed

The message is also what a genuine interception looks like. If nothing on the cluster was restarted and the IP has not changed, do not clear the entry — investigate.


A Named User Cannot Log In

root works, a Login User Management member does not.

CauseCheckFix
No SSH key attached to the memberLogin User ManagementMembers → the SSH Keys column⋮ → Update SSH Keys
Their group has no cluster accessGroups tab → Cluster Access column⋮ → Allow Access
They are in no groupMembers filtered by group⋮ → Manage Members on a group with access
Login User Management is not enabledThe tab shows the Set up Login User Management empty stateEnable it
It was enabled moments agoThe panel shows an in-progress stateWait for it to finish
The login name is wrongThe Login Name columnUse the exact name — lowercase, no typos
ssh -v janedoe@<cluster-ip>

Permission denied (publickey) for a member usually means one of the first three rows above.

Members log in with keys only, never a password

There is no password to issue or reset. If someone asks for one, they need their public key attached to their member record.

Access is granted per group, not per member

Adding a member does not grant them anything on its own. They need a group, and that group needs Allowed cluster access. This trips people up on the first user they add.


The Session Keeps Dropping

CauseFix
Idle timeout on a network deviceAdd ServerAliveInterval 30 to ~/.ssh/config
The login service restartedExpected — it recreates the pod and drops every session
An image update or reconfigureSame
The login node ran out of resourcesSomeone is running heavy work on the login node instead of submitting it
Never run training in a foreground shell on the login node

The login node is a submit host with no GPUs allocated to your work. Heavy processes there load it until everyone's sessions suffer, and a dropped connection or a login-service restart kills the process outright.

Use sbatch. A Slurm job survives disconnects, restarts and image updates; a shell does not.

tmux helps, but only within the pod's life

tmux or screen survives a dropped connection. It does not survive the pod being recreated by a restart or an image update. For anything that must not be lost, it has to be a Slurm job.


Verify Once You Are In

sinfo                                    # the cluster is scheduling
df -h | grep -E '/pfs|/shared' # your storage is mounted
echo test > /pfs/write-check && rm /pfs/write-check && echo writable
squeue # the queue is reachable
srun --help | grep -i container # container support is present

Last updated on September 10, 2026.