- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -

HPE Hawk access

From HLRS Platforms
Jump to navigationJump to search

Access

The only way to access the HPE Hawk (frontend/login nodes) from outside HWW net is through ssh.
Information on how to set up ssh can be found on our webserver at Secure Shell (ssh).

The SSH public key fingerprints are:

Type Fingerprint
ECDSA SHA256:e9baVVjIcaztKSdn30R0Gk5xrta/WP9scQ1GsLsrWC4
ED25519 SHA256:832zq3DA5JvYvo39piPXqqt3SA77VjuvF26e8c25d28
RSA SHA256:4u+wl6y+ylXxZHjDYt35S9aRk7SMx8U8xc4Jp+NYonk

Usage

There are several frontend/login nodes available, access is available using:

  • hawk.hww.hlrs.de

or by seelecting one specific server:

  • hawk-login03.hww.hlrs.de
  • hawk-login04.hww.hlrs.de
  • hawk-login05.hww.hlrs.de


Note: It is highly recommended to use the loadbalancer (hawk.hww.hlrs.de) instead of a specific frontend (hawk-loginxx.hww.hlrs.de), as not all frontends are permanently available


The frontend nodes are intended as single point of access to the entire system. Here you can set your environment, move your data, edit and compile your programs and create batch scripts. If doing so might require an increased number of resources (compiling, creating tarballs of dozens of MBs or more, copying a large amount of data, etc.), please prefix "nice -+19" to the respective command in order to keep the login node responsive for other users! Interactive usage like run your program which leads to a high load is NOT allowed on the frontend/login nodes.

The compute nodes:

  • r1?c?t?n?

for running parallel jobs are only available through the Batch system !


Two-factor authentication with TOTP

An optional protection of ssh access with a two-factor authentication (2FA) based on Time-based One-Time-Password (TOTP) is possible. On login nodes, each user can decide for himself whether access should be secured via TOTP. In order to be able to use TOTP, a secret must be created. For this we have provided a tool "generate_2fa_otp.sh". It prints out a secret QR code which needs to be scanned by your cell phone TOTP app or saved into another TOTP-end device like a USB NitroKey. The generated private secret will be activated by the system the following day.

Do not pass on the contents of the file user.oath in your .ssh - Directory or the QR code of the genertate_2fa_otp.sh command. Make sure that nobody has access to this secret. Always use different devices for the login and the generation of the Time based One-Time Password (TOTP)!

Example setup using Android smart phone with google authenticator

An easy way to configure TOTP using a smart phone is as follows:

Install an authenticator app on your smart phone. In this example google authenticator is used. Login on Hawk's frontend system. Run the command "generate_2fa_otp.sh" . Start the authenticator app on your smart phone and press the + button to add a new secret. Select "QR-Code scan" and scan the QR-code generated by the generate_2fa_otp.sh command

Scan QR-Code to import secret into google authenticator
daily use

Within the login-procedure you will be prompted for the

   One-time password (OATH) for `<your user name>':

open your google authenticator app an insert the 6-digit number for your HLRS Hawk account. For multiple logins, the secret only needs to be entered the first time you log in. For further logins from the same system, the query is skipped for a certain period of time