System Volume; Public-Key Local Export Dsa - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

Default Level
2: System level
Parameters
dsa: DSA key pair.
rsa: RSA key pair.
Description
Use the public-key local destroy command to destroy the local key pair(s).
Related commands: public-key local create.
Examples
# Destroy the local RSA key pairs.
<Sysname> system-view
[Sysname] public-key local destroy rsa
Warning: Confirm to destroy these keys? [Y/N]:y
# Destroy the local DSA key pair.
<Sysname> system-view
[Sysname] public-key local destroy dsa
Warning: Confirm to destroy these keys? [Y/N] :y

public-key local export dsa

Syntax
public-key local export dsa { openssh | ssh2 } [ filename ]
View
System view
Default Level
1: Monitor level
Parameters
openssh: Uses the format of OpenSSH.
ssh2: Uses the format of SSH2.0.
filename: Name of the file for storing public key. For detailed information about file name, refer to File
System Management in the System Volume.
Description
Use the public-key local export dsa command to display the local DSA public key on the screen or
export it to a specified file.
If you do not specify the filename argument, the command displays the local DSA public key on the
screen; otherwise, the command exports the local DSA public key to the specified file and saves the
file.
SSH2.0 and OpenSSH are two different public key formats for different requirements.
13-7

Advertisement

Table of Contents
loading

Table of Contents