Cisco Cisco SF302-08PP 8-port 10 100 PoE+ Managed Switch Referencia técnica

Descargar
Página de 1117
Telnet, Secure Shell (SSH) and Secure Login (Slogin) Commands
OL-32830-01 Command Line Interface Reference Guide
1012
52
 
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)# 
crypto key pubkey-chain ssh
switchxxxxxx(config-keychain)# 
user-key
 bob 
rsa
switchxxxxxx(config-keychain-key)# 
key-string