diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-10-20 21:48:46 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-10-20 21:48:46 +0200 |
commit | dd4e7212a6141f37742de97795e79db51e4427ad (patch) | |
tree | 37bce5e445803f69f2862baf117907d4308be787 /INSTALL | |
parent | Update links. (diff) | |
download | openssh-dd4e7212a6141f37742de97795e79db51e4427ad.tar.xz openssh-dd4e7212a6141f37742de97795e79db51e4427ad.zip |
Update host key generation examples.
Remove ssh1 host key generation, add ssh-keygen -A
Diffstat (limited to 'INSTALL')
-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. 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 |