
1-5
SSH Server Configuration Tasks
Complete the following tasks to configure SSH server:
Task
Remark
Configuring the Protocol Support for the
User Interface
Required
Generating/Destroying a RSA or DSA
Key Pair
Required
Exporting the RSA or DSA Public Key
Optional
Creating an SSH User and Specify an
Authentication Type
Required
Specifying a Service Type for an SSH
User
Optional
Configuring SSH Management
Optional
Configuring the Client Public Key on the
Server
Required for
pubilckey
authentication; unnecessary for
password
authentication
Assigning a Public Key to an SSH User
Required for
pubilckey
authentication; unnecessary for
password
authentication
Configuring the
SSH server
Specifying a Source IP
Address/Interface for the SSH Server
Optional
Configuring the Protocol Support for the User Interface
You must configure the supported protocol(s) for SSH remote login. Note that the configuration does not
take effect immediately, but will be effective for subsequent login requests.
Follow these steps to configure the protocol(s) that a user interface supports:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter the view of one or
multiple user interfaces
user-interface
[
type
]
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
Specify the supported
protocol(s)
protocol inbound
{
all
|
ssh
|
telnet
}
Optional
By default, both Telnet and
SSH are supported.