Public-Key Peer - 3Com Switch 4500 Family Manual

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

Advertisement

.................++++++++
.....++++++++
.......
# 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 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 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 peer

Syntax
public-key peer keyname
undo public-key peer keyname
View
System view
Parameters
keyname: Name of the public key, a string of 1 to 64 characters.
Description
Use the public-key peer command to enter public key view.
Use the undo public-key peer command to delete the configuration of peer public key.
After configuring this command, you enter public key view. You can use this command together with the
public-key-code begin command to configure the peer public key. This public key configuration
method requires that you obtain the public key in hexadecimal format in advance.
Only the public key whose module is of 512 to 2,048 bits can be configured on the device currently.
Related commands: public-key-code begin, public-key-code end.
Examples
# Enter public key view
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname]public-key peer pub.ppk
1-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port4500 pwr 26-port

Table of Contents