Configuring Username and Password Security
Saving Security Credentials in a Config File
N o t e
2-22
keystring:. a legal SSHv2 (RSA or DSA) public key. The text
string for the public key must be a single quoted token. If the
keystring contains double-quotes, it can be quoted with single
quotes ('keystring'). The following restrictions for a
keystring apply:
■
A keystring cannot contain both single and double quotes.
A keystring cannot have extra characters, such as a blank
■
space or a new line. However, to improve readability, you
can add a backlash at the end of each line.
The ip ssh public-key command allows you to configure only one SSH client
public-key at a time. The ip ssh public-key command behavior includes an
implicit append that never overwrites existing public-key configurations on a
running switch.
If you download a software configuration file that contains SSH client public-
key configurations, the downloaded public-keys overwrite any existing keys,
as happens with any other configured values.