You are recommended to configure a client public key by importing it from a public key file.
You can configure at most 20 client pubic keys on an SSH server.
Configuring a client public key manually
Follow these steps to configure the client public key manually:
To do...
Enter system view
Enter public key view
Enter public key code view
Configure a client public key
Return from public key code
view to public key view
Return from public key view to
system view
Importing a client public key from a public key file
Follow these steps to import a public key from a public key file:
To do...
Enter system view
Import the public key from a
public key file
For information about client side public key configuration and the relevant commands, refer to Public
Key Configuration in the Security Volume.
Configuring an SSH User
This configuration allows you to create an SSH user and specify the service type and authentication
mode.
Follow these steps to configure an SSH user and specify the service type and authentication mode:
Use the command...
system-view
public-key peer keyname
public-key-code begin
Enter the content of the public
key
public-key-code end
peer-public-key end
Use the command...
system-view
public-key peer keyname
import sshkey filename
1-7
Remarks
—
—
—
Required
Spaces and carriage returns
are allowed between
characters.
—
When you exit public key code
view, the system automatically
saves the public key.
—
Remarks
—
Required