C613-50631-01 Rev A Command Reference for IE340 Series 3306
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
SECURE SHELL (SSH) COMMANDS
CRYPTO
KEY DESTROY HOSTKEY
crypto key destroy hostkey
Overview This command deletes the existing public and private keys of the SSH server.
Syntax
crypto key destroy hostkey {dsa|ecdsa|ed25519|rsa|rsa1}
Mode Global Configuration
Example To destroy the RSA host key used for SSH version 2 connections, use the
commands:
awplus# configure terminal
awplus(config)# crypto key destroy hostkey rsa
Related
commands
crypto key generate hostkey
service ssh
Command
changes
Version 5.5.2-2.1: ed25519 parameter added
Parameters Description
dsa Deletes the existing DSA public and private keys.
ecdsa Deletes the existing ECDSA public and private keys.
ed25519 Deletes the existing Ed25519 public and private keys.
rsa Deletes the existing RSA public and private keys that were
configured for SSH version 2 connections.
rsa1 Deletes the existing RSA public and private keys that were
configured for SSH version 1 connections. From AlliedWare Plus
version 5.5.1-1.1 onwards, SSH version 1 is not supported.