If the
ssh use
automatically
r
service-type
command is executed with a username that does not exist, the system will
create the SSH user. However, the user cannot log in unless you specify an
authentication type for it.
Configuring the Public Key of a Client on the Server
This configuration is not necessary if the
password
authentication mode is configured for SSH users.
With the
pub
thentication mod
client, you mus
the client’s
R
on the server
on.
Y
ure the pu
blic key file. In the former case, you can
m
blic ke
r case, the system automatically converts
the format of the public key generated by the client to complete the config
, but the
client’s public key should be transferred from the client to the server
.
Follow these steps to configure the public key of a client manually:
lickey
au
e configured for an SSH
t configure
SA host public key
for authenticati
ou can manually config
blic key or import it from a pu
anually copy the client’s pu
y to the server. In the latte
uration on the server
beforehand through FTP/TFTP
To do...
Use the command...
Remarks
Enter system view
m-view
syste
—
Required
Enter public key view
public-key peer keyname
Enter public key edit view
public-key-code begin
—
Configure a public key for the
client
Enter the content of the public
key
n you input the key,
ces are allowed between
the characters you input
ause the system can
ove the spaces
automatically); you can also
press
Enter
to continue your
input at the next line. But the
key you input should be a
hexadecim
g coded
in the publi
t.
Whe
spa
(bec
rem
al digit strin
c key forma
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
—
om a public key file:
Follow these steps to import the public key fr