Key-String - Cisco 300 Series Cli Manual

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

Advertisement

Telnet, Secure Shell (SSH) and Secure Login (Slogin) Commands
OL-32830-01 Command Line Interface Reference Guide

52.8 key-string

The key-string SSH Public Key-string Configuration mode command manually
specifies an SSH public key.
Syntax
key-string
[row key-string
Parameters
row—Specifies the SSH public key row by row. The maximum length of a
row is 160 characters.
key-string
—Specifies the key in UU-encoded DER format. UU-encoded
DER format is the same format as in the authorized_keys file used by
OpenSSH.
Default Configuration
Keys do not exist.
Command Mode
SSH Public Key-string Configuration mode
User Guidelines
Use the key-string SSH Public Key-string Configuration mode command without
the row parameter to specify which SSH public key is to be interactively
configured next. Enter a row with no characters to complete the command.
Use the key-string row SSH Public Key-string Configuration mode command to
specify the SSH public key, row by row. Each row must begin with a key-string
row command.
The UU-encoded DER format is the same format as in the authorized_keys file
used by OpenSSH.
Example
The following example enters public key strings for SSH public key client 'bob'.
switchxxxxxx(config)#
switchxxxxxx(config-keychain)#
switchxxxxxx(config-keychain-key)#
]
crypto key pubkey-chain ssh
bob
user-key
key-string
rsa
52
1012

Advertisement

Table of Contents
loading

Table of Contents