oph:cluster:access
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
oph:cluster:access [2024/06/19 09:27] – carlo.cintolesi@unibo.it | oph:cluster:access [2025/02/20 11:31] (versione attuale) – Rimosso ophfe3 dall'esempio di configurazione di ~/.ssh/config mario.petroli@unibo.it | ||
---|---|---|---|
Linea 30: | Linea 30: | ||
===== Step 1: Connecting to the cluster ===== | ===== Step 1: Connecting to the cluster ===== | ||
- | The cluster can be **accessed remotely through a Frontend Login node**, through the '' | + | The cluster can be **accessed remotely through a Frontend Login node via a bastion host**, through the '' |
There are **multiple independent Frontend Login Nodes:** | There are **multiple independent Frontend Login Nodes:** | ||
- | * '' | + | * ophfe1 (137.204.165.41) |
- | * '' | + | * ophfe2 (137.204.165.42) |
- | * '' | + | * ophfe3 (137.204.165.43) **reserved -- VM for some special tasks** |
- | The **connection procedure** requires the use of the [[https:// | + | The **connection procedure** requires the use of the bastion, that allows ' |
*** STAFF MEMBERS** with e.g. UniBo email address '' | *** STAFF MEMBERS** with e.g. UniBo email address '' | ||
- | ssh -J donald.duck7@137.204.50.15 donald.duck7@137.204.50.71 | + | ssh -J donald.duck7@bastion-nav.difa.unibo.it donald.duck7@ophfe1 |
</ | </ | ||
*** STUDENTS** with e.g. UniBo email address '' | *** STUDENTS** with e.g. UniBo email address '' | ||
- | ssh -J mickey.mouse4@137.204.50.15 mickey.mouse4@137.204.50.71 | + | ssh -J mickey.mouse4@bastion-nav.difa.unibo.it mickey.mouse4@ophfe1 |
</ | </ | ||
followed by their UniBo institutional password (twice). | followed by their UniBo institutional password (twice). | ||
- | This will do a two-step connection, first to 137.204.50.15 which is the **bastion host**, then to the cluster frontend. To avoid specifying it every time, you can simply add the following lines to '' | + | This will do a two-step connection, first to bastion-nav.difa.unibo.it (137.204.165.34) which is the **bastion host**, then to the specified |
- | Host bastion | + | Host bastion-nav |
- | Hostname | + | Hostname |
User | User | ||
| | ||
- | Host 137.204.50.71 137.204.50.72 137.204.50.73 | + | Host ophfe1 ophfe2 |
User your.loginname | User your.loginname | ||
- | ProxyJump bastion | + | ProxyJump bastion-nav |
- | After having added such lines, you can simply use '' | + | After having added such lines, you can simply use '' |
<WRAP round important 100%>For some users in PERSONALE their account does not match the mail address (so called " | <WRAP round important 100%>For some users in PERSONALE their account does not match the mail address (so called " | ||
- | ssh -l mail.address@unibo.it | + | ssh -l mail.address@unibo.it |
or even: | or even: | ||
- | ssh mail.address@unibo.it@137.204.50.71 | + | ssh mail.address@unibo.it@ophfe1 |
</ | </ | ||
' | ' | ||
Graphic windows require a connection with X11 forwarding, which can be established with the '' | Graphic windows require a connection with X11 forwarding, which can be established with the '' | ||
- | <WRAP center 40%>'' | + | <WRAP center 40%>'' |
is enough to use graphical tools. | is enough to use graphical tools. | ||
Linea 79: | Linea 79: | ||
It is also possible that a host key has just been changed. | It is also possible that a host key has just been changed. | ||
The fingerprint for the ECDSA key sent by the remote host is | The fingerprint for the ECDSA key sent by the remote host is | ||
- | SHA256:aoqtNWk0OvSDuWAMV1y7l3E9ofdI6TKBEJxpGpPoYH4. | + | SHA256:uR0mI0jPbLhSd/ |
- | it's probably because you connected to the old Str957-cluster (replaced by ophfe1) and server' | + | it's probably because you connected to the old Str957-cluster (replaced by ophfe1) and server' |
- | **CHECK** that the displayed key is one of these: | + | **CHECK** that the displayed key **for bastion-nav** |
- | * **DSA**: mDCpmJK4A3UqYjVRZzjpItpYehaFxSNYTLRYxRywIYw | + | * **ECDSA**: |
- | * **ECDSA**: | + | * **ED25519**: |
- | * **ED25519**: | + | * **RSA**: |
- | * **RSA**: | + | |
then | then | ||
- | ssh-keygen -R 137.204.50.71 | + | ssh-keygen -R bastion-nav.difa.unibo.it |
to remove old fingerprint from your PC. | to remove old fingerprint from your PC. | ||
+ | |||
+ | Keys for ophfe1 and ophfe2 have not been changed and their hashes are: | ||
+ | * ophfe1: | ||
+ | * **ECDSA**: aoqtNWk0OvSDuWAMV1y7l3E9ofdI6TKBEJxpGpPoYH4 | ||
+ | * **ED25519**: | ||
+ | * **RSA**: bgydnQeWV3puQNHJ9hjEKo2ziLriWC/ | ||
+ | * ophfe2: | ||
+ | * **ECDSA**: aoqtNWk0OvSDuWAMV1y7l3E9ofdI6TKBEJxpGpPoYH4 | ||
+ | * **ED25519**: | ||
+ | * **RSA**: bgydnQeWV3puQNHJ9hjEKo2ziLriWC/ | ||
Now you can retry the ssh connection: it will tell you that it can't verify server' | Now you can retry the ssh connection: it will tell you that it can't verify server' | ||
</ | </ | ||
- | |||
oph/cluster/access.1718789234.txt.gz · Ultima modifica: 2024/06/19 09:27 da carlo.cintolesi@unibo.it