...
Erweitern | ||
---|---|---|
| ||
Directory At least with Safari you can press Also, you can press 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.
Related articles
Nach Stichwort filtern (Inhalt nach Stichwort) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...