Public-Key-Code Begin - 3Com Switch 4500 Family Manual

4500 series
Hide thumbs Also See for Switch 4500 Family:
Table of Contents

Advertisement

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...
...............................................++++++
......++++++
.................++++++++
.....++++++++
.......
[Sysname] public-key local export rsa ssh2 pub
# Send the public key file of the SSH client to the SSH using FTP or TFTP. The configuration is omitted.
# On the SSH server, import the SSH client's public key from the public key file, and then assign the
public key to the SSH client.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] public-key peer publick import sshkey pub
[Sysname] ssh user client assign publickey publick

public-key-code begin

Syntax
public-key-code begin
View
Public key view
Parameters
None
Description
Use the public-key-code begin command to enter public key edit view.
Using the public-key peer command to enter public key view, and use the public-key-code begin
command to enter the public key edit view. Then you can input the key by pasting the copied characters
or pressing the keys on the keyboard. It must be a hexadecimal string that has been encoded complying
with PKCS. Spaces and carriage returns are allowed between characters.
Related commands: rsa peer-public-key, public-key peer, public-key-code end.
Examples
# Enter public key edit view and input a public key.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] rsa peer-public-key Switch003
RSA public key view: return to System View with "peer-public-key end".
[Sysname-rsa-public-key] public-key-code begin
RSA key code view: return to last view with "public-key-code end".
[Sysname-rsa-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463
1-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port4500 pwr 26-port

Table of Contents