C613-50631-01 Rev A Command Reference for IE340 Series 3307
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
SECURE SHELL (SSH) COMMANDS
CRYPTO
KEY DESTROY USERKEY
crypto key destroy userkey
Overview This command destroys the existing public and private keys of an SSH user
configured on the device.
Syntax
crypto key destroy userkey <username>
{dsa|ecdsa|ed25519|rsa|rsa1}
Mode Global Configuration
Example To destroy the RSA user key for the SSH user remoteuser, use the commands:
awplus# configure terminal
awplus(config)# crypto key destroy userkey remoteuser rsa
Related
commands
crypto key generate hostkey
crypto key generate userkey
show ssh
show crypto key hostkey
Command
changes
Version 5.5.2-2.1: ed25519 parameter added
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.
ecdsa Deletes the existing ECDSA userkey.
ed25519 Deletes the existing Ed25519 userkey.
rsa Deletes the existing RSA userkey that was configured for SSH version 2
connections.
rsa1 Deletes the existing RSA userkey that was configured for SSH version 1
connections. From AlliedWare Plus version 5.5.1-1.1 onwards, SSH
version 1 is not supported.