Skip to content

Commit 22f94b2

Browse files
authored
Merge pull request mattmakai#182 from peterwwillis/patch-1
Secure the password encryption of ssh key
2 parents 87db6f2 + 58a4748 commit 22f94b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/posts/170214-create-ssh-keys-ubuntu.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ Optionally, you can also specify your email address with `-C` (otherwise
2929
one will be generated off your current Linux account):
3030

3131
```bash
32-
ssh-keygen -t rsa -b 4096 -C my.email.address@company.com
32+
ssh-keygen -o -t rsa -b 4096 -C my.email.address@company.com
3333
```
3434

35+
(Note: the `-o` option was introduced in 2014; if this command fails for you, simply remove the `-o` option)
36+
3537
The first prompt you will see asks where to save the key. However, there are
3638
actually two files that will be generated: the public key and the private
3739
key.

0 commit comments

Comments
 (0)