Public-Key Peer; Public-Key Peer Import Sshkey - HP FlexFabric 7900 Series Command Reference Manual

Security
Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

public-key peer import sshkey

public-key peer

Use public-key peer to specify a name for a peer public key and enter public key view.
Use undo public-key peer to delete a peer public key.
Syntax
public-key peer keyname
undo public-key peer keyname
Default
The local device has no peer public key.
Views
System view
Predefined user roles
network-admin
Parameters
keyname: Specifies a name for a peer public key, a case-sensitive string of 1 to 64 characters.
Usage guidelines
After you execute the command to enter the public key view, type the public key. Spaces and carriage
returns are allowed, but are not saved.
To manually specify a peer public key on the local device, obtain the public key in hexadecimal from the
peer device beforehand, and perform the following configurations on the local device:
1.
Execute the public-key peer command to enter public key view.
2.
Type the public key.
3.
Execute the peer-public-key end command to save the public key and return to system view.
The public key you type in the public key view must be in a correct format. If your device is an HP device,
use the display public-key local public command to display and record its public key.
Examples
# Specify the name key1 for a peer public key and enter public key view.
<Sysname> system-view
[Sysname] public-key peer key1
[Sysname-pkey-public-key-key1]
Related commands
display public-key local public
display public-key peer
peer-public-key end
public-key peer import sshkey
Use public-key peer import sshkey to import a peer host public key from the public key file.
106

Advertisement

Table of Contents
loading

Table of Contents