1-6
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
Authorization Specifying a Service Type for an SSH
User
Optional
By default, an SSH user can use the
service type of stelnet.
Configuring the Public Key of a Client
on the Server
z Not necessary when the
authentication mode is password.
z Required when the authentication
mode is publickey.
Assigning a Public Key to an SSH
User
z Not necessary when the
authentication mode is password.
z Required when the authentication
mode is publickey.
Data exchange
Exporting the Host Public Key
Optional
If a client does not support first-time
authentication, you need to export the
server’s public key and configure the
key on the client.
The SSH server needs to cooperate with an SSH client to complete the interactions between them. For
SSH client configuration, refer to Configuring the SSH Client.
Configuring the User Interfaces for SSH Clients
An SSH client will access the device through a terminal “VTY” user interface. Therefore, you need to
configure the device user interface to accept SSH clients and allow SSH login. Note that the
configuration takes effect at the next login.
Follow these steps to configure the device user interface for SSH clients:
To do... Use the command... Remarks
Enter system view system-view
Enter user interface view of one
or more user interfaces
user-interface vty first-number
[ last-number ]
Configure the authentication
mode as scheme
authentication-mode scheme
[ command-authorization ]
Required
By default, the user interface
authentication mode is
password.