summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-10-21 06:48:46 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-10-21 06:48:46 +1100
commitdd4e7212a6141f37742de97795e79db51e4427ad (patch)
tree37bce5e445803f69f2862baf117907d4308be787
parent6d49ae82634c67e9a4d4af882bee20b40bb8c639 (diff)
Update host key generation examples.
Remove ssh1 host key generation, add ssh-keygen -A
-rw-r--r--INSTALL10
1 files changed, 7 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index 9613233c1..aea57902e 100644
--- a/INSTALL
+++ b/INSTALL
@@ -229,9 +229,13 @@ review it to ensure that it matches your security requirements.
229To generate a host key, run "make host-key". Alternately you can do so 229To generate a host key, run "make host-key". Alternately you can do so
230manually using the following commands: 230manually 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 "" 234for each of the types you wish to generate (rsa, dsa or ecdsaa) or
235
236 ssh-keygen -A
237
238to generate keys for all supported types.
235 239
236Replacing /etc/ssh with the correct path to the configuration directory. 240Replacing /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