To do...
2.
Import the host public key of a
remote host from the public
key file.
To configure a remote host's public key manually:
To do...
1.
Enter system view.
2.
Specify a name for a remote
host's public key and enter
public key view.
3.
Enter public key code view.
4.
Configure the server or host
public key of the remote host.
5.
Return to public key view.
6.
Return to system view.
NOTE:
Do not configure an RSA server public key of the remote host for identity authentication in SSH
applications. Authentication in SSH applications uses the RSA host public key. For more information,
see
"Configuring
Displaying and maintaining public keys
To do...
Display the public keys of the
local key pairs
Display the public keys of the
remote hosts
Command...
public-key peer keyname import
sshkey filename
Command...
system-view
public-key peer keyname
public-key-code begin
Type or copy the key
public-key-code end
peer-public-key end
SSH2.0."
Command...
display public-key local { dsa |
rsa } public [ | { begin | exclude
| include } regular-expression ]
display public-key peer [ brief |
name publickey-name ] [ | { begin
| exclude | include } regular-
expression ]
Remarks
Required
Remarks
—
Required.
—
Required.
Spaces and carriage returns are
allowed between characters.
Required.
When you exit public key code
view, the system automatically
saves the public key.
—
Remarks
Available in any view
214