A SERVICE OF

logo

1-10
To do… Use the command… Remarks
Enter public key edit view
public-key-code begin
Configure a public key for the
client
Enter the content of the public
key
When you input the key data,
spaces are allowed between
the characters you input
(because the system can
remove the spaces
automatically); you can also
press <Enter> to continue your
input at the next line. But the
key you input should be a
hexadecimal digit string coded
in the public key format.
Return to public key view from
public key edit view
public-key-code end
Exit public key view and return
to system view
peer-public-key end
Follow these steps to import the RSA public key from a public key file:
To do… Use the command… Remarks
Enter system view
system-view
Import the public key from a
public key file
public-key peer keyname
import sshkey filename
Required
You can also use the following commands to configure the client’s RSA public key on the server.
Follow these steps to configure the client RSA public key manually:
To do… Use the command… Remarks
Enter system view
system-view
Enter public key view
rsa peer-public-key keyname
Required
Enter public key edit view
public-key-code begin
Configure the client RSA public
key
Enter the content of the RSA
public key
The content must be a
hexadecimal string that is
generated randomly by the
SSH-supported client software
and coded compliant to PKCS.
Spaces and carriage returns
are allowed between
characters.
Return from public key code
view to public key view
public-key-code end
When you exit public key code
view, the system automatically
saves the public key.
Return from public key view to
system view
peer-public-key end