Update Documentation authored by Peter Heger's avatar Peter Heger
...@@ -116,12 +116,9 @@ The key's randomart image is: ...@@ -116,12 +116,9 @@ The key's randomart image is:
You will now see the key pair in the hidden `.ssh` directory of your home as files `~/.ssh/id_ed25519` and `~/.ssh/id_ed25519.pub` (or `~/.ssh/id_rsa` and `~/.ssh/id_rsa.pub`). You will now see the key pair in the hidden `.ssh` directory of your home as files `~/.ssh/id_ed25519` and `~/.ssh/id_ed25519.pub` (or `~/.ssh/id_rsa` and `~/.ssh/id_rsa.pub`).
##### (on Windows: you can also use [PuTTY](PuTTY-key-generator) ) ##### (on Windows: you can also use [PuTTY](PuTTY-key-generator) )
#### 2.2.2 Step 2: Transfer the public key #### 2.2.2 Step 2: Transfer the public key
You can now send us the **public** key (`id_ed25519.pub`), either as a file or by copy-paste of the public key file contents: Now the newly generated SSH public key needs to be transferred to your Ramses home directory.
``` To this end, we have set up a dedicated [Ramses key upload website](https://ramses-umc.itcc.uni-koeln.de/web-sshkey/login). Log in with your uniKIM credentials (username and password) and upload your public key. It will then be installed in your `~/.ssh/authorized_keys` file on Ramses and enable SSH authentication without a password request when used with your matching private key on the local host.
cat ~/.ssh/id_ed25519.pub
```
**Please send the public key to:** **hpc-mgr@uni-koeln.de**
On Ramses, the remote machine, your public key (\*.pub) will be a single-line item in your `~/.ssh/authorized_keys` file. Together with your matching local private key, it enables SSH authentication without password request.
#### 2.2.3 Step 3 (optional): Wanna pass on the passphrase? - Call your agent! #### 2.2.3 Step 3 (optional): Wanna pass on the passphrase? - Call your agent!
`ssh-agent` is a program which can automatically do your authentication when logging in to a remote machine via SSH. Thus, to avoid providing the passphrase during multiple subsequent sessions, you can load the private key into memory using the SSH agent. `ssh-agent` is a program which can automatically do your authentication when logging in to a remote machine via SSH. Thus, to avoid providing the passphrase during multiple subsequent sessions, you can load the private key into memory using the SSH agent.
... ...
......