I cannot login to the Linux Cluster

Before opening a trouble ticket, ...

please go through the following questionnaire. If at least one answer results in a

  • (Fehler) , the login will not work;
  • (Warnung) , the login will not work as intended.

Typical problem characteristics

  • When I enter ssh command to login, nothing happens. It's just hanging.

  • The terminal keeps asking me to enter my password and 2FA and finally fails, e.g.:
    myname@laptop:~$ ssh -Y user@cool.hpc.lrz.de
    user@cool.hpc.lrz.de) Password:
    user@cool.hpc.lrz.de) 2FA:

    user@cool.hpc.lrz.de) Password:
    user@cool.hpc.lrz.de) 2FA:

    user@cool.hpc.lrz.de) Password:
    user@cool.hpc.lrz.de) 2FA:

    user@cool.hpc.lrz.de: Permission denied (keyboard-interactive).


  • Connection seems to be refused:
    myname@laptop:~$ ssh -Y user@cool.hpc.lrz.de
    Connection closed by <server-ip> port 22

  • This error is usually related to public-key authentication:
    myname@laptop:~$ ssh -Y user@cool.hpc.lrz.de
    Received disconnect from <server-ip> port 22:2: Too many authentication failures
    Disconnected from
    <server-ip> port 22

  • Typical error related to use of public-key authentication:
    user@cool.hpc.lrz.de: Permission denied (publickey).

Troubleshooting questionnaire

System status

Are there any messages on service disruptions affecting the login? Please check

YES(Fehler)Please wait for news updates on the status page.
NO(Haken)

User ID

Did you really use the correct user ID for login, i.e. the one with Linux Cluster permission?

YES(Haken)
NO(Fehler)Please check https://idmportal2.sim.lrz.de

Password

Did you really use the correct password?

Try to login to https://idmportal2.sim.lrz.de/

YES(Haken)
NO(Fehler)If you lost password, please try a password reset for the affected user ID.

Having a new user ID for Linux Cluster access, did you reset the initial password?

YES(Haken)
NO(Fehler)Please do the password reset via https://idmportal.lrz.de/pwreset

Export control regulations

Did you give your consent to the export control regulations as a new user?
Did you renew the consent as an existing user, which needs to be done every 12 months?

YES(Haken)
NO(Fehler)Please check https://idmportal2.sim.lrz.de

Did you wait some time (approx. one hour) after giving your consent to the export control regulations?

YES(Haken)
NO(Fehler)Please wait a bit and try login later.

Two-factor authentication (2FA)

Does your user ID, used to access the Linux Cluster, have a valid/working 2FA token?

YES(Haken)
NO(Fehler)

First-time 2FA setup: Follow instructions from Access and Login to the Linux-Cluster

You have lost 2FA tokens (locked yourself out): Your master user needs to contact the servicedesk via THIS LINK.

Login node

Did you use the correct login server address?

Please check Access and Login to the Linux-Cluster

YES(Haken)


NO(Fehler)

Please adjust.

SSH public-key authentication (only if used)

Do the SSH-key settings (particularly the encryption algorithm) comply with our SSH policies?

YES(Haken)
NO(Fehler)Please adjust.

If you have multiple keys in your "~/.ssh/" directory, do you explicitly specify the SSH key in the ssh command?

YES(Haken)
NO(Warnung) / (Fehler)Please adjust according to ssh - Secure Shell on LRZ HPC Systems.

Do you use port 2222 when executing ssh command?

YES(Haken)
NO(Warnung)Please adjust according to Access and Login to the Linux-Cluster

All questions give a (Haken) but login still fails

Please contact the servicedesk.