summaryrefslogtreecommitdiffstats
path: root/INSTALL
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 /INSTALL
parent6d49ae82634c67e9a4d4af882bee20b40bb8c639 (diff)
Update host key generation examples.
Remove ssh1 host key generation, add ssh-keygen -A
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL10
1 files changed, 7 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index 9613233c..aea57902 100644
--- a/INSTALL
+++ b/INSTALL
@@ -229,9 +229,13 @@ review it to ensure that it matches your security requirements.
To generate a host key, run "make host-key". Alternately you can do so
manually using the following commands:
- ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
- ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
- ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
+ ssh-keygen -t [type] -f /etc/ssh/ssh_host_key -N ""
+
+for each of the types you wish to generate (rsa, dsa or ecdsaa) or
+
+ ssh-keygen -A
+
+to generate keys for all supported types.
Replacing /etc/ssh with the correct path to the configuration directory.
(${prefix}/etc or whatever you specified with --sysconfdir during