This is an old revision of the document!
Accessing MOGON
Essentially only accounts of the Johannes Gutenberg University can get access.
- External users can approach us to retrieve more information concerning so-called guest accounts.
- Internal groups with external members should approach their person in charge of accounts at the deanery of your faculty or at the secretariat of the respective institution.
Access
The MOGON login nodes are accessible only from the university network. To access MOGON from the outside (e.g. from home) you have to use VPN - please refer to these instructions:
(Outside) access using Unix / (Outside) access using Windows. The latter link contains information for accessing MOGON with PuTTY and MobaXterm.
Login to the login-nodes is mediated by a jump node: Access is done with direct login (ssh) to “mogon
”. This name implements a 'Round-Robin-DNS' login to both login nodes of MOGON I, mil01.zdv.uni-mainz.de
and mil02.zdv.uni-mainz.de
. If for some reason you want to login to a specific login node, you can use this names directly. (or if for some other Reason one of the nodes is broken, and the DNS always gives you the wrong, broken one to connect to)
The login nodes of MOGON II are miil01.zdv.uni-mainz.de
to miil03.zdv.uni-mainz.de
. Projects on MOGON I do not have access to MOGON II automatically. You have to apply for MOGON I and MOGON II separately. Only password-less login is available.
The accelerators (GPUs) of MOGON II reside within MOGON I infrastructure that is to say you have to login to MOGON I but use your MOGON II account (-A m2_*
) to have access to those accelerators.
MOGON Service Nodes Overiew
Service Node | FQDN | Cluster | Description |
---|---|---|---|
login21 | miil01.zdv.uni-mainz.de | MOGON II | Login Node |
login22 | miil02.zdv.uni-mainz.de | MOGON II | Login Node |
login23 | miil03.zdv.uni-mainz.de | MOGON II | Login Node |
login01 | mil01.zdv.uni-mainz.de | MOGON I | Login Node |
login02 | mil02.zdv.uni-mainz.de | MOGON I | Login Node |
hpcgate | hpcgate.zdv.uni-mainz.de | MOGON | Jump Host |
SSH-Key
You need to have your SSH-Key uploaded on account.uni-mainz.de/sshkey to be able to log in to MOGON1).Your SSH-Key is automatically added to the MOGON clusters. Would You Like To Know More? Read this Article!
How to set up SSH-Keys for MOGON
SSH-Keys for MOGON require certain information in the comment of the SSH-Key that describes the purpose of the Key. The information is catched by a script and ensures that you can access MOGON correctly.
MOGON SSH-Key comment additions
Make sure you add the following strings to your SSH-Key as part of your comment, to specify the purpose:Purpose | Comment String related to MOGON Access |
---|---|
Using the jump host hpcgate | HPCGATE |
Log in to MOGON service nodes | HPCLOGIN |
Generating a new SSH-Key using Linux or macOS
In case you not yet have an SSH-Key pair on your computer, you can use the following command to create a new pair:
ssh-keygen -t rsa -b 4096 -a 100 -C "[<Your Optional Comment>],HPCGATE,HPCLOGIN"
This generates a new private/public RSA
key pair with 4096 bit
key size. Then ssh-keygen
asks for a name for the key.
Enter a file in which to save the key (/home/you/.ssh/id_rsa): [Press enter]
After that you have to specify a passphrase - Do not use an empty passphrase!
Enter passphrase (empty for no passphrase): [Type a passphrase] Enter same passphrase again: [Type passphrase again]
If you already have an SSH-Key pair, you can change the comment as follows, for example to add the HPCGATE,HPCLOGIN
string:
ssh-keygen -c -C "[<YourNewComment>],HPCGATE,HPCLOGIN" -f ~/Path/To/Your/PrivateKey
Generating a new SSH-Key using Windows and PuTTY
- Press the -Key to open the start menu and type
PuTTYgen
, click on the App to open it. Now the PuTTY Key Generator window should be displayed..
- To create a new key pair, first select the type of the key to generate from the bottom. We recommend the
RSA
algorithm and4096 bit
key size.
- Now click on
Generate
and start moving the mouse within the Window, to let PuTTY collect some randomness for the Key.- Once the progress bar is full, the actual key generation takes place. Your public key should be appear in the windows once the compution is complete.
- Now you have to specify a
Passphrase
and add aComment
for your SSH-Key. Make sure you add theHPCGATE,HPCLOGIN
string, to specify the purpose of your key.
- Click on the
Save private key
button to save your private key. You must save your private key. - Now click on the
Save public key
button to save your public key. - Right-click in the text field labeled Public key for pasting into OpenSSH authorized_keys file: and choose
Select All/Alle auswählen
. - Right-click again in the same field and choose
Copy/Kopieren
. - Browse to account.uni-mainz.de and add your new public SSH-Key. You will find further information in this Article.