@@ -86,12 +86,11 @@ The type of key to be generated is specified with the `-t` option, where we reco
...
@@ -86,12 +86,11 @@ The type of key to be generated is specified with the `-t` option, where we reco
```
```
Enter file in which to save the key (/home/<USERNAME>/.ssh/id_ed25519):
Enter file in which to save the key (/home/<USERNAME>/.ssh/id_ed25519):
```
```
which will produce the private-and-public key pair `~/.ssh/id_ed25519` and `~/.ssh/id_ed25519.pub`.
Outdated SSH versions may not allow for the key type "ed25519". In this case, use
Outdated SSH versions may not allow for the key type "ed25519". In this case, use
```
```
ssh-keygen -t rsa -b 4096 -C "<YOUR NAME>"
ssh-keygen -t rsa -b 4096 -C "<YOUR NAME>"
```
```
which will produce `~/.ssh/id_rsa` and `~/.ssh/id_rsa.pub`. Below, we keep assuming type "ed25519".
Below, we keep assuming type "ed25519".
Next you **have to** enter a passphrase. Empty or weak passphrases present other vulnerabilities. Therefore, for your convenience, this [passphrase generator](https://www.tu-braunschweig.de/it-sicherheit/pwsec/pwgen) assists in a secure choice.
Next you **have to** enter a passphrase. Empty or weak passphrases present other vulnerabilities. Therefore, for your convenience, this [passphrase generator](https://www.tu-braunschweig.de/it-sicherheit/pwsec/pwgen) assists in a secure choice.
...
@@ -111,7 +110,7 @@ The key's randomart image is:
...
@@ -111,7 +110,7 @@ The key's randomart image is:
| .. .. |
| .. .. |
+----[SHA256]-----+
+----[SHA256]-----+
```
```
You will now see the key pair `~/.ssh/id_ed25519` and `~/.ssh/id_ed25519.pub`.
You will now see the key pair `~/.ssh/id_ed25519` and `~/.ssh/id_ed25519.pub`(or `~/.ssh/id_rsa` and `~/.ssh/id_rsa.pub`).
#### 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 just copy-paste the public-key file content:
You can now send us the **public** key (`id_ed25519.pub`), either as a file or just copy-paste the public-key file content: