Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:services:application_services:high_performance_computing:connect_with_ssh [2023/12/13 16:06] – [Upload SSH Public Key] meulert1en:services:application_services:high_performance_computing:connect_with_ssh [2024/04/12 17:21] – [Connect with SSH] meulert1
Line 1: Line 1:
 ====== Connect with SSH ====== ====== Connect with SSH ======
 +
 +<WRAP center round info 70%>
 +\\\\
 +A more detailed and up to date version is available [[https://docs.hpc.gwdg.de/getting_started/connecting/index.html|here]].
 +</WRAP>
 +
 +
 +
 To access the Scientific Compute Cluster, you need  To access the Scientific Compute Cluster, you need 
-  - an [[en:services:application_services:high_performance_computing:account_activation|activated, *non-student* account]]+  - an [[en:services:application_services:high_performance_computing:account_activation|activated account]]
   - an SSH client   - an SSH client
  
 Please note, that you can only connect to our frontends from inside the [[en:services:network_services:goenet:start|GÖNET]], our campus network. If you are not inside GÖNET, you can either use a [[en:services:network_services:vpn:start|VPN]] or connect to ''login.gwdg.de'' as a jump host. Please note, that you can only connect to our frontends from inside the [[en:services:network_services:goenet:start|GÖNET]], our campus network. If you are not inside GÖNET, you can either use a [[en:services:network_services:vpn:start|VPN]] or connect to ''login.gwdg.de'' as a jump host.
  
-Since May 15th, 2020, authentication by password has been deactivated for security reasons. To log on to the frontends an SSH key is required. 
  
 ==== Graphical Applications ==== ==== Graphical Applications ====
Line 19: Line 26:
 ===== Creating SSH Keys ===== ===== Creating SSH Keys =====
  
-On Linux, macOS and the latest Windows 10 Versions SSH is already built in. A key can be generated with the command ''ssh-keygen -t rsa -b 2048 -f <yourkey>''. As soon as you enter the command you will be asked to secure the key with a passphrase. Please do not use keys without a passphrase to log in to our systems.+On Linux, macOS and the latest Windows 10 Versions SSH is already built in. A key can be generated with the command ''ssh-keygen -t rsa -b 4096 -f <yourkey>''. As soon as you enter the command you will be asked to secure the key with a passphrase. Please do not use keys without a passphrase to log in to our systems.
 <code> <code>
-PS C:\Users\win10-virtual> ssh-keygen -t rsa -b 2048+PS C:\Users\win10-virtual> ssh-keygen -t rsa -b 4096
 Generating public/private rsa key pair. Generating public/private rsa key pair.
 Enter file in which to save the key (C:\Users\win10-virtual/.ssh/id_rsa): Enter file in which to save the key (C:\Users\win10-virtual/.ssh/id_rsa):
 Created directory 'C:\Users\win10-virtual/.ssh'. Created directory 'C:\Users\win10-virtual/.ssh'.
-Enter passphrase (empty for no passphrase): +Enter passphrase (empty for no passphrase): ****************** 
-Enter same passphrase again:+Enter same passphrase again: ******************
 Your identification has been saved in C:\Users\win10-virtual/.ssh/id_rsa. Your identification has been saved in C:\Users\win10-virtual/.ssh/id_rsa.
 Your public key has been saved in C:\Users\win10-virtual/.ssh/id_rsa.pub. Your public key has been saved in C:\Users\win10-virtual/.ssh/id_rsa.pub.
Line 32: Line 39:
 SHA256:JIFSfI6/QBdnUaVsjKdHIfCqw1yjZyk96KDp07MlvbM win10-virtual@DESKTOP-N8DT68R SHA256:JIFSfI6/QBdnUaVsjKdHIfCqw1yjZyk96KDp07MlvbM win10-virtual@DESKTOP-N8DT68R
 The key's randomart image is: The key's randomart image is:
-+---[RSA 2048]----+++---[RSA 4096]----+
 |   o..o.ooo..    | |   o..o.ooo..    |
 |  . o ooo= o     | |  . o ooo= o     |
Line 50: Line 57:
 ===== Upload SSH Public Key ===== ===== Upload SSH Public Key =====
 To upload a key, please log into your account on the [[https://id.academiccloud.de|My AcademicID]] portal and open the "SECURITY" tab. Then scroll down to "SSH PUBLIC KEYS" and click "ADD SSH PUBLIC KEY". You can now add a **public** key. \\ To upload a key, please log into your account on the [[https://id.academiccloud.de|My AcademicID]] portal and open the "SECURITY" tab. Then scroll down to "SSH PUBLIC KEYS" and click "ADD SSH PUBLIC KEY". You can now add a **public** key. \\
-**Note:** If you copy your public key from a text editor or a terminal, please make sure that your editor or your terminal does not insert any linebreaks, because this will make the copy of your public key invalid.\\+**Note:** If you copy your public key from a text editor or a terminal, please make sure that your editor or terminal does not insert any linebreaks, because this will make the copy of your public key invalid.\\
 \\ \\
 **<wrap em>Important</wrap>** It can take up to 10-60 minutes until the key is synchronised with the systems. If the login does not work, be patient and try again later. **<wrap em>Important</wrap>** It can take up to 10-60 minutes until the key is synchronised with the systems. If the login does not work, be patient and try again later.