1-13
This configuration task is unnecessary if the SSH user’s authentication mode is
password
.
For the
publickey
authentication mode, you must specify the client’s public key on the server for
authentication.
Follow these steps to assign a public key for an SSH user:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Assign a public key to an SSH
user
ssh user
username
assign
publickey
keyname
Required
If you issue this command
multiple times, the last
command overrides the
previous ones.
Exporting the Host Public Key to a File
Configuring the Public Key of a Client on the Server
or
Configuring whether first-time
, an SSH client’s or an SSH server's host public key can be imported from a
public key file. This task allows you to export the host public key to a file on the client or server device
with key pairs generated.
Follow these steps to export the RSA host public key:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Export the RSA host public key
to a specified file
public-key local export rsa
{
openssh
|
ssh1
|
ssh2
}
[
filename
]
Required
Follow these steps to export the DSA host public key:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Export the DSA host public key
to a specified file
public-key local export dsa
{
openssh
|
ssh2
}
[
filename
]
Required
Содержание Switch 4800G PWR 24-Port
Страница 165: ...1 8 4 mac address es found on port GigabitEthernet1 0 2 ...
Страница 214: ...ii Displaying and Maintaining System Guard 4 1 ...
Страница 445: ...ii ...
Страница 727: ...i Table of Contents Appendix A Acronyms A 1 ...
Страница 730: ...A 3 VOD Video On Demand W WRR Weighted Round Robin X XID eXchange Identification XRN eXpandable Resilient Networking ...