Skip to content

Commit

Permalink
[connect] ssh-keygen - remove the old -o parameter (now the default b…
Browse files Browse the repository at this point in the history
…ehavior)
  • Loading branch information
hcartiaux committed Sep 11, 2023
1 parent bb4fb0d commit 42a44d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/connect/ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The way SSH handles the keys and the configuration files is illustrated in the f
To generate an RSA SSH keys **of 4096-bit length**, just use the `ssh-keygen` command [as follows](https://explainshell.com/explain?cmd=ssh-keygen+-t+rsa+-o+-a+100):

```bash
ssh-keygen -t rsa -b 4096 -o -a 100
ssh-keygen -t rsa -b 4096 -a 100
```

After the execution of this command, the generated keys are stored in the following files:
Expand All @@ -53,7 +53,7 @@ After the execution of this command, the generated keys are stored in the follow
You may want to generate also **ED25519** Key Pairs (which is the most recommended public-key algorithm available today) -- see [explaination](https://explainshell.com/explain?cmd=ssh-keygen+-t+ed25519+-o+-a+100)

```
ssh-keygen -t ed25519 -o -a 100
ssh-keygen -t ed25519 -a 100
```

Your key pairs will be located under `~/.ssh/` and follow the following format -- the `.pub` extension indicated the **public** key part and is the **ONLY one SAFE to distribute**:
Expand Down

0 comments on commit 42a44d8

Please sign in to comment.