Configuring An Ssh User - H3C S3610-28P Operation Manual

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – SSH
H3C S3610&S5510 Series Ethernet Switches
Return from public key
code view to public key
view
Return from public key
view to system view
II. Importing a client public key from a public key file
Follow these steps to import a public key from a public key file:
Enter system view
Import the public key from
a public key file

1.2.6 Configuring an SSH User

This configuration allows you to create an SSH user and specify the service type and
authentication method.
Follow these steps to configure an SSH user:
Enter system view
Create an
SSH user,
and specify
the service
type and
authenticati
on method
To do...
Use the command...
public-key-code end
peer-public-key end
To do...
system-view
public-key peer
keyname import sshkey
filename
To do...
system-view
ssh user username service-type
stelnet authentication-type
For stelnet
{ password | { any |
users
password-publickey | publickey }
assign publickey keyname }
ssh user username service-type { all
| sftp } authentication-type
For all
{ password | { any |
users or
password-publickey | publickey }
sftp users
assign publickey keyname
work-directory directory-name }
Use the command...
Use the command...
1-9
Chapter 1 SSH Configuration
Remarks
When you exit public key
code view, the system
automatically saves the
public key.
Remarks
Required
Remarks
Required
Use either
command.

Advertisement

Table of Contents
loading

Table of Contents