Document No. 10-300090, Issue 1 26-5
SSH
ssh keygen
Command Mode Global Configuration.
Description Generates an SSH server key.
* Important: If SSH is enabled and you regen erate the SSH server key,
you must disable and then reenable SSH for the change to
take effect. To disable and reenable SSH, use the ip ssh
command.
Syntax ssh keygen [{rsa | dsa}] [key-size {768 | 1024 | 2048}]
Systems P580 and P882.
Table 26-4. Keywords, Arguments, and Options
Keyword, Argument or
Option Definition
rsa Generates an RSA key.
dsa Generates a DSA key.
{768 | 1024 | 2048} The number of bytes that you want the key to
be. 1024 is the default setting.