System Management Commands 4

ip ssh save host-key

This command saves the host key from RAM to flash memory.

Syntax

ip ssh save host-key [dsa rsa]

dsa – DSA key type.

rsa – RSA key type.

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 (4-37)

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 secs; Authentication retries: 3

Server key size: 768 bits

Console#

show ssh

This command displays the current SSH server connections.

Command Mode

Privileged Exec

Example

Console#show ssh

 

 

 

 

Connection Version

State

Username

Encryption

0

2.0

Session-Started

admin

ctos

aes128-cbc-hmac-md5

 

 

 

 

stoc

aes128-cbc-hmac-md5

Console#

 

 

 

 

 

 

 

 

 

 

 

4-39