Complete the following tasks to configure the SSH server:
Task
Remarks
Configuring the User Interfaces for
SSH Clients
Required
Preparation
Configuring the SSH Management
Functions
Optional
Key
Configuring Key Pairs
Required
Authentication
Creating an SSH User and Specifying
an Authentication Type
Required
Optional
By default, an SSH user can use the
Authorization
Specifying a Service Type for an SSH
User on the Server
service type of
stelnet
.
Configuring the Public Key of a Client
z
Not necessary when the
authentication mode is
password
.
z
Required when the authentication
mode is
publickey
.
on the Server
z
Not necessary when the
authentication mode is
password
.
z
Required when the authentication
Assigning a Public Key to an SSH
User
mode is
publickey
.
Data exchange
c Key to a File
Exporting the Host Publi
Optional
If a client does not support first-time
authentication, you need to export the
y and configure the
key on the client.
server’s public ke
Note:
T
cooperat
ient to complete the interactions between them. For
SSH client configuration, refer to
Configuring the SSH Client
he SSH server needs to
e with an SSH cl
.
Configuring the User Interfaces for SSH Clients
An SSH client will access the device through a terminal “VTY” user
you need to
onfigure the device user interface to accept SSH clients and allow SSH login. Note that the
uration takes effect at the next login.
w these steps to configure the device user interface for SSH clients:
interface. Therefore,
c
config
Follo
To do...
Use the command...
Remarks
Enter system view
system-view
—
En
ne
r
user-interface vty
first-number
ter user interface view of o
o more user interfaces
[
last-number
]
—
Co
mo
authentication mode is
password.
nfigure the authentication
de as scheme
authentication-mode
scheme
[
command-authorization
]
Required
By default, the user interface