Public-Key Local Create - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SSH
H3C S7500E Series Ethernet Switches
Examples
# Exit RSA key code view save the configured public key.
<Sysname> system-view
[Sysname] public-key peer key1
[Sysname-pkey-public-key] public-key-code begin
[Sysname-pkey-key-code]30819F300D06092A864886F70D010101050003818D003081890
2818100C0EC8014F82515F6335A0A
[Sysname-pkey-key-code]EF8F999C01EC94E5760A079BD73E4F4D97F3500EDB308C29481
B77E719D1643135877E13B1C531B4
[Sysname-pkey-key-code]FF1877A5E2E7B1FA4710DB0744F66F6600EEFE166F1B854E237
1D5B952ADF6B80EB5F52698FCF3D6
[Sysname-pkey-key-code]1F0C2EAAD9813ECB16C5C7DC09812D4EE3E9A0B074276FFD4AF
2050BD4A9B1DDE675AC30CB020301
[Sysname-pkey-key-code]0001
[Sysname-pkey-key-code] public-key-code end
[Sysname-pkey-public-key]

1.1.11 public-key local create

Syntax
public-key local create rsa
View
System view
Parameters
rsa: RSA key pair.
Description
Use the public-key local create command to create the local key pair(s).
Note that:
After entering this command, you will be prompted to provide the length of the key
pair. The length of a server/host key must be in the range 512 to 2048 bits and
defaults to 1024. If the key pair already exists, the system will ask you whether you
want to overwrite it.
The configuration of this command can survive a reboot. You only need to
configure it once.
Related commands: public-key local destroy, display public-key local.
Examples
# Create RSA local key pair.
Chapter 1 SSH Configuration Commands
1-10

Advertisement

Table of Contents
loading

Table of Contents