NOTE: Only a user with superuser permissions should generate host-keys.
Example
Dell(conf)#crypto key generate rsa
Enter key size <1024-2048>. Default<1024> :
Host key already exists. Overwrite (y/n)?y
Generating 1024-bit SSHv2 RSA key.
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
Dell(conf)#
Dell(conf)#crypto key generate rsa1
Enter key size <1024-2048>. Default<1024> :
Host key already exists. Overwrite (y/n)?y
Generating 1024-bit SSHv1 RSA key.
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
Dell(conf)#
Related
Commands
ip ssh server
— enables the SSH server.
show crypto
— displays the SSH host public keys.
debug ip ssh
Enables collecting SSH debug information.
Syntax
debug ip ssh {client | server}
To disable debugging, use the
no debug ip ssh {client | server}
command.
Parameters
client
Enter the keyword
client
to enable collecting debug
information on the client.
server
Enter the keyword
server
to enable collecting debug
information on the server.
Defaults
Disabled on both client and server.
Command
Modes
EXEC
Command
History
Version 8.3.16.1
Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
Debug information includes details for key-exchange, authentication, and
established session for each connection.
1184
Security