Versionen im Vergleich

Schlüssel

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

...

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.

SSH Key Login

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 HLRN login nodes. You will be asked for the passphrase of your private key.

Example for a login to blogin (Berlin):

Kein Format
$ ssh -i $HOME/.ssh/id_rsa_hlrn -l your_username blogin.hlrn.de
Enter passphrase for key '/<home_directory>/.ssh/id_rsa_hlrn': ***********************
[...]


Use the SSH configuration file $HOME/.ssh/config to permanently store options for specific SSH connections, so that they can be omitted on the command line.

For example, by adding the following to $HOME/.ssh/config :

Kein Format
Host blogin
    Hostname blogin.hlrn.de
    IdentityFile ~/.ssh/id_rsa_hlrn
    User your_username

Now the ssh command will automatically choose the proper credentials in the future, i. e., -l your_username and -i <private_key> can be omitted from the command line, so that ssh blogin  is sufficient.

Nach Stichwort filtern (Inhalt nach Stichwort)
showLabelsfalse
max5
spacesPUB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("password","key","public","login","pubkey","ssh") and type = "page" and space = "PUB"
labelsssh login public key pubkey password

...