EasyManuals Logo

H3C S3600 Series Command Manual

H3C S3600 Series
1277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #967 background imageLoading...
Page #967 background image
1-15
Examples
# Generate an RSA key pair.
<Sysname> system-view
[Sysname] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Input the bits in the modulus[default = 1024]:
Generating keys...
...............................................++++++
......++++++
.................++++++++
.....++++++++
.......
# Display the host public key in the OpenSSH format.
[Sysname]public-key local export rsa openssh
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgMSPi+xIkHkAo6E9LwLKWN+eN9EqW/6FIYEIlVKcpIa0
6IT4eSyq4OldeiZ9WorOiDqX3ROo4FmaTR/QCSK3C9whE1qz/4soVL1eHDdgzQCumKKsJCVaM5OdZ2sdNbEnhLuc
s8ZrfTgEkDB1hmbgzuDpWPokPfkQDD+8dC+hkFVV rsa-key
# Export the host public key of the RSA key pair in the format of OpenSSH and save the public key file
as pub_ssh_file2.
[Sysname] public-key local export rsa openssh pub_ssh_file2
# Export the host public key of the RSA key pair in the format of SSH1 and save the public key file as
pub_ssh_file3.
[Sysname] public-key local export rsa ssh1 pub_ssh_file3
public-key local export dsa
Syntax
public-key local export dsa { openssh | ssh2 } [ filename ]
View
System view
Parameters
dsa: Specifies the public key of the current switch’s DSA key pair.
openssh: Uses the format of OpenSSH.
ssh2: Uses the format of SSH2.
filename: Name of the file for saving the public key, a string of 1 to 142 characters. For file naming rules,
refer to File System Management Command.
Description
Use the public-key local export dsa command to display the public key of the current switch’s DSA
key pair on the screen or export it to a specified file.

Table of Contents

Other manuals for H3C S3600 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3600 Series and is the answer not in the manual?

H3C S3600 Series Specifications

General IconGeneral
BrandH3C
ModelS3600 Series
CategorySwitch
LanguageEnglish

Related product manuals