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.
Table 1-10 Follow these steps to assign a public key for an SSH user:
To do...
Enter system view
Assign a public key to an SSH
user
Exporting the RSA or DSA Public Key
You can display the generated RSA or DSA public key on the screen in a specified format or export it to
a specified file, so that you can configure the key at a remote end when necessary.
Table 1-11 Follow these steps to export the RSA public key:
Enter system view
Display the RSA key on the screen in a
specified format or export it to a
specified file
Table 1-12 Follow these steps to export the DSA public key:
To do...
Enter system view
Display the DSA key on the screen in
a specified format or export it to a
specified file
The DSA public key format can be SSH2 and OpenSSH, while the RSA public key format can be SSH1,
SSH2 and OpenSSH.
system-view
ssh user username assign
publickey keyname
To do...
Use the command...
Use the command...
system-view
public-key local export rsa
{ openssh | ssh1 | ssh2 }
[ filename ]
Use the command...
system-view
public-key local export dsa
{ openssh | ssh2 } [ filename ]
1-11
Remarks
—
Required
If you issue this command
multiple times, the last
command overrides the
previous ones.
Remarks
—
Required
Remarks
—
Required
Need help?
Do you have a question about the 4210 9-Port and is the answer not in the manual?