User Authentication
3-79
3
CLI – This example imports an SSHv2 DSA public key for the user admin and then
displays admin’s imported public keys
.
Console#copy tftp public-key 4-85
TFTP server IP address: 192.168.1.254
Choose public key type:
1. RSA: 2. DSA: <1-2>: 2
Source file name: admin-ssh2-dsa-pub.key
Username: admin
TFTP Download
Success.
Write to FLASH Programming.
Success.
Console#show public-key user admin 4-54
admin:
RSA:
1024 37 154886675541099600242673908076171863880953984597454546825066951007
29617437427136900505591624068119579408716226078634780682201498685790475062
34519480679939485042653504179153032795337422103356695026441903823445835730
88823472889690842821665429031315937652815279387868298539820466143474130023
09979848162607182657 rsa-key-20071106
DSA:
---- BEGIN SSH2 PUBLIC KEY ----
Comment: "dsa-key-20071105"
AAAAB3NzaC1kc3MAAA
CAeqNnwpAVz82Z3zFif0KGF846S5m5useW8rQp8DBv1IQ/
sLYRuoCtW/+hllIaUu2F9Ps6D5gJdKj
yEPKRutJv1rAwq1YZ61/fat9OGpM3oaqM
f6UiVUK4gEsaq8T6UqrGsIDcXWyvmbI02+R/owN43kwE
JCfmpBXelhU962AA2G0A
AAAVAKxtZo+MjTVzRJ+9mFTFIUpawm7HAAAAgCINbco4jTWcdMKS1oQTA
+WnCehl
sd8j5MpDc3VccySMaFzcPgxT+N79WVxWNJQaS8l9TfY3EDg9VfCooLZDrn/yX67M
V3p/I
Jej57DsNjLnCHpaGE/OKfkAhvjRzlufS4f4wAzOYCBNxb6XY6Vew8Pi7Wri
L/Xrm4AQ0t4wSjjEAA
AAgDNcKKEpZw16wW7E9EmbQp5s5gu9lCVCqMz5r76EyEzc
9uIYvxy54GHMtyBwLTITh6lbxEGD6cO
nkCW+ieRye9fiJfs7u4QdL9NZb+WLZvcU
Xm6E1vUc70OpelDFxbfhQawgGFxvx7rzv85D75ffNEqb
LW2mKApehuQrHYbPZOnX
---- END SSH2 PUBLIC KEY ----
Console#