Chapter 23: Authentication Commands
Secure Shell
– 788 –
S
YNTAX
ip ssh crypto host-key generate
[
dsa
|
rsa
]
dsa
– DSA (Version 2) key type.
rsa
– RSA (Version 1) key type.
D
EFAULT
S
ETTING
Generates both the DSA and RSA key pairs.
C
OMMAND
M
ODE
Privileged Exec
C
OMMAND
U
SAGE
•
The switch uses only RSA Version 1 for SSHv1.5 clients and DSA
Version 2 for SSHv2 clients.
•
This command stores the host key pair in memory (i.e., RAM). Use the
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.
E
XAMPLE
Console#ip ssh crypto host-key generate dsa
Console#
R
ELATED
C
OMMANDS
ip ssh
crypto zeroize
This command clears the host key from memory (i.e. RAM).
S
YNTAX
ip ssh crypto zeroize
[
dsa
|
rsa
]
dsa
– DSA key type.
rsa
– RSA key type.
D
EFAULT
S
ETTING
Clears both the DSA and RSA key.
C
OMMAND
M
ODE
Privileged Exec
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...