User-Key - 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
Default Configuration
Keys do not exist.
Command Mode
Global Configuration mode
User Guidelines
Use this command when you want to manually specify SSH client's public keys.
Example
The following example enters the SSH Public Key-chain Configuration mode and
manually configures the RSA key pair for SSH public key-chain to the user 'bob'.
switchxxxxxx(config)#
switchxxxxxx(config-keychain)#
switchxxxxxx(config-keychain-key)#
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl
Al4kpqIw9GBRonZQZxjHKcqKL6rMlQ+
ZNXfZSkvHG+QusIZ/76ILmFT34v7u7ChFAE+
Vu4GRfpSwoQUvV35LqJJk67IOU/zfwOl1g
kTwml75QR9gHujS6KwGN2QWXgh3ub8gDjTSq
muSn/Wd05iDX2IExQWu08licglk02LYciz
+Z4TrEU/9FJxwPiVQOjc+KBXuR0juNg5nFYsY
0ZCk0N/W9a/tnkm1shRE7Di71+w3fNiOA
6w9o44t6+AINEICBCCA4YcF6zMzaT1wefWwX6f+
Rmt5nhhqdAtN/4oJfce166DqVX1gWmN
zNR4DYDvSzg0lDnwCAC8Qh
Fingerprint: a4:16:46:23:5a:8d:1d:b5:37:59:eb:44:13:b9:33:e9

52.7 user-key

The user-key SSH Public Key-string Configuration mode command associates a
username with a manually-configured SSH public key.
crypto key pubkey-chain ssh
user-key
bob rsa
key-string
52
1010

Advertisement

Table of Contents
loading

Table of Contents