Changes between Version 7 and Version 8 of SystemAdministration/Security/OpenSSH
- Timestamp:
- 07/21/15 13:02:10 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SystemAdministration/Security/OpenSSH
v7 v8 10 10 == Generating a new ssh private/public key pair == 11 11 12 13 Issue the following command in '~/.ssh': 12 To generate key pair, issue the following command in `~/.ssh`: 14 13 {{{ 15 14 ssh-keygen -t ed25519 -C "<description>" -f <username>@<host_shorthand> 16 15 }}} 17 16 18 Ed25519 is advised as it is fast, small and particularly secure (has all paraneters set to known secure values by default). If you must use something else, use RSA:17 Ed25519 is the best key type as it is fast, small and particularly secure (it has all paraneters set to known secure values by default). If you must use something else, use RSA with a 2048 bits key size: 19 18 {{{ 20 19 ssh-keygen -t rsa -o -b 2048 -C "<description>" -f <username>@<host_shorthand> … … 42 41 == Mac OS X == 43 42 44 If Ed25519 is not available on your computer, install `openssh` via homebrew ([http://epocsquadron.com/a-comprehensive-ssh-key-primer/ reference]).43 If your `ssh-keygen` fails to generate keys of the Ed25519 type, install `openssh` via homebrew ([http://epocsquadron.com/a-comprehensive-ssh-key-primer/ reference]). 45 44 46 45 {{{