Crypto key destroy hostkey, Crypto key destroy hostkey {dsa|rsa|rsa1 – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1386

Secure Shell (SSH) Commands
Software Reference for x310 Series Switches
54.4
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
crypto key destroy hostkey
This command deletes the existing public and private keys of the SSH server. Note that for
an SSH server to operate it needs at least one set of hostkeys configured before an SSH
server is started.
Syntax
crypto key destroy hostkey {dsa|rsa|rsa1}
Mode
Global Configuration
Example
To destroy the RSA host key used for SSH version 2 connections, use the commands:
Related Commands
crypto key generate hostkey
service ssh
Parameter
s
Description
dsa
Deletes the existing DSA public and private keys.
rsa
Deletes the existing RSA public and private keys configured for SSH
version 2 connections.
rsa1
Deletes the existing RSA public and private keys configured for SSH
version 1 connections.
awplus#
configure terminal
awplus(config)#
crypto key destroy hostkey rsa