Cisco 300 Series Cli Manual page 940

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

SSH Client Commands
Table 2:
Keys, Defaults and Users
From/To
Show
Startup
Only
Config
user-defined
Running
Keys are not
Config
displayed.
Text-based
As it was
CLI
copied.
(TFTP/Backup
)
OL-32830-01 Command Line Interface Reference Guide
User Guidelines
When using the keyword generate, a private key and a public key of the given type
(RSA/DSA) are generated for the SSH client. Downloading a configuration file with
a Key Generating command is not allowed, and such download will fail.
When using the keyword key-pair, the user can import a key-pair created by
another device. In this case, the keys must follow the format specified by RFC
4716.
If the specified key already exists, a warning will be issued before replacing the
existing key with a new key.
Use the no ip ssh-client key command to remove a key pair. Use this command
without specifying a key-type to remove both key pairs.
describes the expected behavior of keys, default and users within the
Table 2
various operations.
Show (detailed)
N/A
All keys (default
and user)
N/A
If no keys are included in text-based configuration file, the device generates it's
own keys during initialization. If the Running Configuration contains default keys
(not user-defined), the same default keys remain.
Examples
Example 1 - In the following example, a key pair of the RSA type is created:
switchxxxxxx(config)#
The SSH service is generating a private RSA key.
Copy/Upload of
Running Config
All keys (default
and user)
N/A
All keys (default
and user)
ip ssh-client key rsa generate
Copy/Upload
Download
of Startup
text-based CLI
Config
(TFTP/Backup)
N/A
All keys (default and
user)
Only user
Same as user
defined.
configuration
Only user
As a text file.
defined.
48
940

Advertisement

Table of Contents
loading

Table of Contents