From dd4e7212a6141f37742de97795e79db51e4427ad Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 21 Oct 2016 06:48:46 +1100 Subject: [PATCH] Update host key generation examples. Remove ssh1 host key generation, add ssh-keygen -A --- INSTALL | 10 +++++++--- 1 file 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. 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