diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-10-21 06:48:46 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-10-21 06:48:46 +1100 |
commit | dd4e7212a6141f37742de97795e79db51e4427ad (patch) | |
tree | 37bce5e445803f69f2862baf117907d4308be787 | |
parent | 6d49ae82634c67e9a4d4af882bee20b40bb8c639 (diff) |
Update host key generation examples.
Remove ssh1 host key generation, add ssh-keygen -A
-rw-r--r-- | INSTALL | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -229,9 +229,13 @@ review it to ensure that it matches your security requirements. | |||
229 | To generate a host key, run "make host-key". Alternately you can do so | 229 | To generate a host key, run "make host-key". Alternately you can do so |
230 | manually using the following commands: | 230 | manually using the following commands: |
231 | 231 | ||
232 | ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N "" | 232 | ssh-keygen -t [type] -f /etc/ssh/ssh_host_key -N "" |
233 | ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N "" | 233 | |
234 | ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N "" | 234 | for each of the types you wish to generate (rsa, dsa or ecdsaa) or |
235 | |||
236 | ssh-keygen -A | ||
237 | |||
238 | to generate keys for all supported types. | ||
235 | 239 | ||
236 | Replacing /etc/ssh with the correct path to the configuration directory. | 240 | Replacing /etc/ssh with the correct path to the configuration directory. |
237 | (${prefix}/etc or whatever you specified with --sysconfdir during | 241 | (${prefix}/etc or whatever you specified with --sysconfdir during |