Reference Guide

1060 | Security
www.dell.com | support.dell.com
crypto key generate
c e s z
Generate keys for the SSH server.
Syntax
crypto key generate {rsa | rsa1}
Parameters
Defaults
Key size 1024
Command Modes
CONFIGURATION
Command History
Example
Figure 37-6. crypto key generate rsa1 command example
Usage Information
The host keys are required for key-exchange by the SSH server. If the keys are not found when the
server is enabled (ip ssh server enable), the keys are automatically generated.
This command requires user interaction and will generate a prompt prior to overwriting any existing
host keys.
Related
Commands
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 8.3.11.1 Introduced on Z9000
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)#
Note: Only a user with superuser permissions should generate host-keys.
ip ssh server Enable the SSH server.
show crypto Display SSH host public keys