8-11
Configuring Secure Shell (SSH)
Configuring the Switch for SSH Operation
For example, to generate and display a new key:
cert
Install RSA key for https certificate. See “Configuring
the Switch for SSL Operation” on page 9-6 in this guide
for more information.
ssh [dsa | rsa]
Install host key for ssh server. Specify the key type as
DSA or RSA.
bits <keysize>
Specify the key size (in bits). See Table 8-2.
zeroize <ssh | cert | autorun [rsa]>
Erases the switch’s public/private key pair and dis-
ables SSH operation.
show crypto host-public-key
Displays switch’s public key. Displays the version 2
views of the key.
See “SSH Client Public-Key Authentication” on page
2-21 in this guide for information about public keys
saved in a configuration file.
[ babble ]
Displays hashes of the switch’s public key in phonetic
format. (See “Displaying the Public Key” on page
8-14.)
[ fingerprint ]
Displays fingerprints of the switch’s public key in
hexadecimal format. (See “Displaying the Public Key”
on page 8-14.)