CLI Reference Guide-R02

Table Of Contents
Chapter 8
| Authentication Commands
Secure Shell
– 250 –
Example
Console(config)#ip ssh timeout 60
Console(config)#
Related Commands
exec-timeout (132)
show ip ssh (252)
delete public-key This command deletes the specified users public key.
Syntax
delete public-key username
username – Name of an SSH user. (Range: 1-8 characters)
Default Setting
Deletes the RSA key.
Command Mode
Privileged Exec
Example
Console#delete public-key admin
Console#
ip ssh crypto
host-key generate
This command generates the host key pair (i.e., public and private).
Syntax
ip ssh crypto host-key generate
Default Setting
Generates the RSA key pairs.
Command Mode
Privileged Exec
Command Usage
The switch uses RSA for SSHv2 clients.
This command stores the host key pair in memory (i.e., RAM). Use the ip ssh
save host-key command to save the host key pair to flash memory.