Reference Guide
Security | 1311
• debug ip ssh
• ip scp topdir
• ip ssh authentication-retries
• ip ssh connection-rate-limit
• ip ssh hostbased-authentication
• ip ssh key-size
• ip ssh password-authentication
• ip ssh pub-key-file
• ip ssh rhostsfile
• ip ssh rsa-authentication (Config)
• ip ssh rsa-authentication (EXEC)
• ip ssh server
• show crypto
• show ip ssh
• show ip ssh client-pub-keys
• show ip ssh rsa-authentication
• ssh
crypto key generate
c e s
Generate keys for the SSH server.
Syntax
crypto key generate {rsa | rsa1}
Parameters
Defaults
Key size 1024
Command Modes
CONFIGURATION
Command
History
Example
Figure 51-6. crypto key generate rsa1 command example
rsa
Enter the keyword rsa followed by the key size to generate a SSHv2 RSA
host keys.
Range: 1024 to 2048
Default: 1024
rsa1 Enter the keyword rsa1 followed by the key size to generate a SSHv1 RSA
host keys.
Range: 1024 to 2048
Default: 1024
Version 7.6.1.0 Introduced for S-Series
Version 7.5.1.0 Introduced for C-Series
pre-Version 6.1.1.0 Introduced for E-Series
FTOS#conf
FTOS(conf)#crypto key generate rsa1
Enter key size <1024-2048>. Default<1024>: 1024
Host key already exists. Do you want to replace. [y/n] :y
FTOS(conf)#