User`s manual
User’s Manual 227
Default
Generates both
Command Mode
Privileged Exec
Usage Guidelines
This command stores the host key pair in memory (For example, RAM). Use the ip ssh save host-key
command to save the host key pair to flash memory.
Some SSH client programs automatically add the public key to the known hosts file as part of the
configuration process. Otherwise, you must manually create a known hosts file and place the host public key
in it.
The SSH server uses this host key to negotiate a session key and encryption method with the client trying to
connect to it.
Example
Console#ip ssh crypto host-key generate dsa
Console#
Related Commands
ip ssh crypto zeroize
ip ssh save host-key
16.72 ip ssh crypto zeroize
Use this command to clear the host key from memory (For example RAM).
Syntax Description
ip ssh crypto zeroize [dsa | rsa]
dsa DSA (Version 2) key type.
rsa RSA (Version 1) key type.
Default
Clears both
Command Mode
Privileged Exec