Command Manual ( For Soliton ) – SSH
H3C S3100 Series Ethernet Switches
Chapter 1 SSH Commands
1-14
8722585CDF4F3BFB31DD739865D1EA0312EDF2BAF4841C0A963E400640E467206817292CDF
E5D91D86FDB9C3A16141E675E6FFC6C2577E660FF1
1.1.11 public-key local destroy
Syntax
public-key local destroy
{
dsa
|
rsa
}
View
System view
Parameters
dsa
: Specifies the DSA key pair.
rsa
: Specifies the RSA key pair.
Description
Use the
public-key local destroy
command to destroy the DSA key pair or RSA key
pair generated for the current switch.
Related commands:
public-key local create
.
Examples
# Destroy the RSA key pair of the current switch.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname]public-key local destroy dsa
% Confirm to destroy these keys? [Y/N]:y
......
# Destroy the DSA key pair of the current switch.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] public-key local destroy dsa
% Confirm to destroy these keys? [Y/N]:y
......
1.1.12 public-key local export rsa
Syntax
public-key local export rsa
{
openssh
|
ssh1
|
ssh2
}
[
filename
]
View
System view