As mentioned in the wiki on how to create a username and password we use Two Factor Authentication (2FA) to login to the cluster.
This means you have to enter two passwords to login to the cluster.
First password is an OTP (One Time Password) and second is the Unix password you created for yourself.
The OTP is a 6 digit password that changes every minute.
There are three options to get the OTP for the cluster:
- Mobile app - the preferred method.
- Web Browser extension.
- SMS.
Download and install the Google Authenticator app according to the operating system on the smartphone you have:
Configure OTP for the cluster in the app:
- Go to registrar site https://registrar.cs.huji.ac.il/hotp
- Select “Time-Based hotp - google authenticator”
- Enter the username and password you created for the cluster.
- You will receive a code by SMS from HUJICSE. Enter it and press submit button.
- In the Google Authenticator app on your mobile phone select “Scan a QR code”.
- Scan the QR code in the registrar site.
- You will see a new entery in the app with the title “CSE-HUJI (your_username)”.
Sometimes you will get from Google Authenticator a wrong code.
Your code might be wrong when you enter it correctly but you don't get prompted to enter your Unix password.
Follow these steps to fix the issue:
- Check that the time and date in your mobile phone is accurate. If it's not then fix it and try again.
- This step is only for users with Android. See “Fix an incorrect code” in this link.
- Remove the account “CSE-HUJI (your_username)” in the app and recreate it as described in the “Install and Configure” section above.
Go to https://authenticator.cc/
Install the browser extension according to the browser that you are working with.
Configure OTP for the cluster in the browser extension:
- Go to registrar site https://registrar.cs.huji.ac.il/hotp
- Select “Time-Based hotp - google authenticator”
- Enter the username and password you created for the cluster.
- You will receive a code by SMS from HUJICSE. Enter it and press submit button.
- Follow instructions here how to configure an account in the extension.
Use this method only if you don't have a smartphone.
- Go to registrar site https://registrar.cs.huji.ac.il/hotp
- Select “to receive HOTPs via SMS/text”.
- Enter the username and password you created for the cluster.
- You will receive a code by SMS from HUJICSE. Enter it and press submit button.
- You will recieve six OTPs by SMS from HUJICSE. Use any of the recieved codes.