C613-50102-01 REV C
Command Reference for x510 Series
2481
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
S
ECURE
S
HELL
(SSH) C
OMMANDS
CRYPTO
KEY
PUBKEY
-
CHAIN
USERKEY
Examples
To generate a valid SSH RSA key on the device and add the key, use the following
commands:
awplus#
configure terminal
awplus(config)#
crypto key generate host rsa
awplus(config)#
exit
awplus#
show crypto key hostkey
rsaAAAAB3NzaC1yc2EAAAABIwAAAIEAr1s7SokW5aW2fcOw1TStpb9J20bWluh
nUC768EoWhyPW6FZ2t5360O5M29EpKBmGqlkQaz5V0m5YyD4UxOKSD
tTI+7jtjDcoGWHb2u4sFwRpXwJZch+c/pqGDijj4SvfZZfe
ITzvvyZW4/I4pbN8=
awplus#
configure terminal
awplus(config)#
crypto key pubkey-chain userkey joeType CNTL/D
to
finish:AAAAB3NzaC1yc2EAAAABIwAAAIEAr1s7SokW5aW2fcOw1TStpb9J20b
WluhnUC768EoWhyPW6FZ2t5360O5M29EpKBmGqlkQaz5V0m5YyD4Ux
7jtjDcoGWHb2u4sFwRpXwJZch+c/pqGDijj4Svf
ZZfeITzvvyZW4/I4pbN8=control-D
awplus(config)#
To add a public key for the user
graydon
from the file
key
.
pub
, use the
commands:
awplus#
configure terminal
awplus(config)#
crypto key pubkey-chain userkey graydon key.pub
To add a public key for the user
tamara
from the terminal, use the commands:
awplus#
configure terminal
awplus(config)#
crypto key pubkey-chain userkey tamara
and enter the key. Use Ctrl+D to finish.
To remove the first key entry from the public key chain of the user
john
, use the
commands:
awplus#
configure terminal
awplus(config)#
no crypto key pubkey-chain userkey john 1
Related
Commands