Crypto key destroy userkey – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1387

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.5
crypto key destroy userkey
This command destroys the existing public and private keys of an SSH user configured on
the device.
Syntax
crypto key destroy userkey <username> {dsa|rsa|rsa1}
Mode
Global Configuration
Example
To destroy the RSA user key for the SSH user remoteuser, use the commands:
Related Commands
crypto key generate hostkey
show ssh
show crypto key hostkey
Parameters
Description
<username>
Name of the user whose userkey you are destroying. The username
must begin with a letter. Valid characters are all numbers, letters, and
the underscore, hyphen and full stop symbols.
dsa
Deletes the existing DSA userkey.
rsa
Deletes the existing RSA userkey configured for SSH version 2
connections.
rsa1
Deletes the existing RSA userkey for SSH version 1 connections.
awplus#
configure terminal
awplus(config)#
crypto key destroy userkey remoteuser rsa