Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Inhalt

  1. Create an SSH key pair with a passphrase that is not used anywhere else.
  2. Upload your public key on our Portal NHR@ZIB.
  3. Specify your private key when connecting to our login nodes (either via ssh -i <your_private_key_file> or in your local SSH configuration).

An SSH key pair consists of a public key and a private key. The public key is used to encrypt messages. Such messages can only be decrypted using the corresponding private key. For this reason the To login to system Lise please

  1. choose a login node of your Compute partitions and
  2. specify your SSH key when connecting. A pair of SSH keys consists of a
    • private key. The private key must be stored safely on the local machine - protected by a passphrase

...

    • .
    • public key.

Create a pair of SSH keys

Create an SSH key pair with a passphrase that is not used anywhere else.

Generating your key pair differs depending on the SSH implementation available on your local machine. The default with Linux and MacOS is OpenSSH. This is also available (without extra installation) in more recent versions of Windows.

...

Info

PuTTY changed its default key file format in version 0.75 from PPK2 to PPK3. This is not an issue as long as you use a PuTTY version, or software using PuTTY in its core, greater 0.75

SSH public key upload

Upload your public key on our Portal NHR@ZIB.

Before you can log in to one of the NHR@ZIB login nodes, make sure you have uploaded your SSH public key (not the private one) at the Portal NHR@ZIB. Here you can also view or remove public keys uploaded earlier (if any).

...

Erweitern
title Workaround to display hidden files

Directory .ssh is a hidden directory. If it is not shown by default, you might need to enter ~/.ssh in the location box.

At least with Safari you can press command-shift-G and manually enter ~/.ssh.

Also, you can press CTRL-H to toggle between showing and not showing hidden files.

Or, another workaround: copy your public key file to a path not containing any hidden files/directories.

Login using SSH keys

For external connections to the NHR@ZIB login nodes the private key of the SSH key pair is needed. Recall the name and the location (see above) of the file containing the private keyssh login please use ssh software on your local machine. On linux and windows systems OpenSSH and PuTTY is appropriate software, respectively

OpenSSH

With the -i option to the ssh command you can specify the full path of your private SSH key file when you log in to one of the NHR@ZIB login nodes. You will be asked for the passphrase of your private key.

Codeblock

...

noformat
title
OpenSSH example
$ ssh -i $HOME/.ssh/id_rsa_nhr your_username@blogin.nhr.zib.de
Enter passphrase for key '/<home_directory>/.ssh/id_rsa_nhr':
[...]

...