diff --git a/doc/ssh/README.md b/doc/ssh/README.md index 63f0a654fcf9b8eb2e2ee191625b68078181219b..368c9e7c6a34b77d965b2c0a117963e939042cb5 100644 --- a/doc/ssh/README.md +++ b/doc/ssh/README.md @@ -48,8 +48,10 @@ Note that Public SSH key may also be named as follows: **Git Bash on Windows / GNU/Linux / macOS:** ```bash - ssh-keygen -t rsa -C "your.email@example.com" -b 4096 + ssh-keygen -o -t rsa -C "your.email@example.com" -b 4096 ``` + + (Note: the `-o` option was introduced in 2014; if this command does not work for you, simply remove the `-o` option and try again) **Windows:** @@ -75,7 +77,9 @@ Note that Public SSH key may also be named as follows: NOTE: **Note:** If you want to change the password of your SSH key pair, you can use - `ssh-keygen -p `. + `ssh-keygen -p -o -f `. + The `-o` option was added in 2014, so if this command does not work for you, + simply remove the `-o` option and try again. ## Adding a SSH key to your GitLab account