Differences

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

Link to this comparison view

Both sides previous revisionPrevious 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/02/14 11:22] (current) – [Creating SSH Keys] update key length mluetti2
Line 19: Line 19:
 ===== 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 32:
 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     |