Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1393

Secure Shell (SSH) Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
54.11
Examples
To generate a valid SSH RSA key on the switch and add the key, use the following
commands:
To add a public key for the user graydon from the file key.pub, use the commands:
To add a public key for the user tamara from the terminal, use the commands:
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:
Related Commands
show crypto key pubkey-chain userkey
awplus#
configure terminal
awplus(config)#
crypto key generate host rsa
awplus(config)#
exit
awplus#
show crypto key hostkey rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAr1s7SokW5aW2fcOw1TStpb9J
20bWluhnUC768EoWhyPW6FZ2t5360O5M29EpKBmGqlkQaz5V0mU9
IQe66+5YyD4UxOKSDtTI+7jtjDcoGWHb2u4sFwRpXwJZcgYrXW16
+6NvNbk+h+c/pqGDijj4SvfZZfeITzvvyZW4/I4pbN8=
awplus#
configure terminal
awplus(config)#
crypto key pubkey-chain userkey joe
Type CNTL/D to finish:
AAAAB3NzaC1yc2EAAAABIwAAAIEAr1s7SokW5aW2fcOw1TStpb9J
20bWluhnUC768EoWhyPW6FZ2t5360O5M29EpKBmGqlkQaz5V0mU9
IQe66+5YyD4UxOKSDtTI+7jtjDcoGWHb2u4sFwRpXwJZcgYrXW16
+6NvNbk+h+c/pqGDijj4SvfZZfeITzvvyZW4/I4pbN8=
control-D
awplus(config)#
awplus#
configure terminal
awplus(config)#
crypto key pubkey-chain userkey graydon key.pub
awplus#
configure terminal
awplus(config)#
crypto key pubkey-chain userkey tamara
awplus#
configure terminal
awplus(config)#
no crypto key pubkey-chain userkey john 1