HP A5830 Series Configuration Manual page 148

Security switch
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Displaying the host public key in a specific format and saving it to a file
Exporting the host public key in a specific format to a file
If your local device functions to authenticate the peer device, you must specify the peer public key on the
local device. For more information, see
Displaying and recording the host public key information
After you display the host public key, record the key information for manual configuration of the key on
the peer device.
To display the local public key:
To do...
1.
Display the local RSA public
keys.
2.
Display the local host public
key.
The display public-key local rsa public command displays both the RSA server and host public keys.
Recording the RSA host public key is enough.
Displaying the host public key in a specific format and saving it to a file
After you display the host public key in a specify format, save the key to a file, and transfer this file to
the peer device.
To display the local host public key in a specified format:
To do...
1.
Enter system view.
2.
Display the local RSA host
public key in a specified
format.
3.
Display the local DSA host
public key in a specified
format.
Exporting the host public key in a specific format to a file
After you export and save the host public key in a specify format to a file, transfer the file to the peer
device.
To export and save the local host public key to a file:
To do...
1.
Enter system view.
2.
Export and save the local RSA
host public key in a specific
format to a file.
3.
Export and save the local
DSA host public key in a
specific format to a file.
"Specifying the peer public key on the local
Use the command...
display public-key local rsa public
[ | { begin | exclude | include }
regular-expression ]
display public-key local dsa public
[ | { begin | exclude | include }
regular-expression ]
Use the command...
system-view
public-key local export rsa {
openssh | ssh1 | ssh2 }
public-key local export dsa {
openssh | ssh2 }
Use the command...
system-view
public-key local export rsa {
openssh | ssh1 | ssh2 } filename
public-key local export dsa {
openssh | ssh2 } filename
140
device."
Remarks
Required.
Available in any view.
Use at least one command.
Remarks
Required.
Use at least one command.
Remarks
Required.
Use at least one command.

Advertisement

Table of Contents
loading

Table of Contents