Public-Key Local Export Rsa - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2182
C
142: SSH2.0 C
HAPTER
Parameter
Description
Related command:
Example

public-key local export rsa

Syntax
View
Parameter
Description
Related command:
Example
C
ONFIGURATION
OMMANDS
dsa: DSA key pair.
rsa: RSA key pair.
Use the
public-key local destroy
public-key local create.
# Destroy local RSA key pair.
<Sysname> system-view
[Sysname] public-key local destroy rsa
Warning: Confirm to destroy these keys? [Y/N]:y
# Destroy 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 rsa { openssh | ssh1 | ssh2 } [ filename ]
System view
openssh: Uses the format of OpenSSH.
ssh1: Uses the format of SSH1.
ssh2: Uses the format of SSH2.
filename: Name of the file for storing public key.
Use the
public-key local export rsa
key on the screen or export it to a specified file.
If you do not specify the filename argument, the command displays the local RSA
public key on the screen; otherwise, the command exports the local RSA public
key to the specified file and saves the file.
SSH1, SSH2 and OpenSSH are three different public key file formats for different
requirements.
public-key local create, public-key local destroy.
# Export the local RSA public key in OpenSSH format.
<Sysname> system-view
[Sysname] public-key local export rsa openssh key.pub
# Display the local RSA public key in SSH2 format.
command to destroy the local key pair(s).
command to display the local RSA public

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents