C
HAPTER
24
| Authentication Commands
Secure Shell
– 846 –
RELATED COMMANDS
ip ssh crypto host-key generate (844)
ip ssh save host-key (846)
no ip ssh server (842)
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 both the DSA and RSA key.
COMMAND MODE
Privileged Exec
EXAMPLE
Console#ip ssh save host-key dsa
Console#
RELATED COMMANDS
ip ssh crypto host-key generate (844)
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
Server Key Size : 768 bits
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-8 characters)
DEFAULT SETTING
Shows all public keys.