CLI Reference Guide-R01

Table Of Contents
Chapter 8
| Authentication Commands
Secure Shell
– 258 –
ip ssh save host-key This command saves the host key from RAM to flash memory.
Syntax
ip ssh save host-key
Default Setting
Saves the RSA key.
Command Mode
Privileged Exec
Example
Console#ip ssh save host-key
Console#
Related Commands
ip ssh crypto host-key generate (256)
show ip ssh This command displays the connection settings used when authenticating client
access to the SSH server.
Command Mode
Privileged Exec
Example
Console#show ip ssh
SSH Enabled - Version 2.0
Negotiation Timeout : 120 seconds; Authentication Retries : 3
Console#
show public-key This command shows the public key for the specified user or for the host.
Syntax
show public-key [user [username]| host]
username – Name of an SSH user. (Range: 1-32 characters)
Default Setting
Shows all public keys.
Command Mode
Privileged Exec