Quidway S2700 Series Ethernet Switches
Configuration Guide - Basic Configuration
----End
9.3.3 Configuring SSH for the VTY User Interface
You can configure SSH for the VTY user interface.
Context
Do as follows on the switch that serves as an SSH server:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
user-interface [ vty ] first-ui-number [ last-ui-number ]
The VTY user interface is displayed.
Step 3 Run:
authentication-mode aaa
The AAA authentication mode is configured.
Step 4 Run:
protocol inbound ssh
The VTY is configured to support SSH.
----End
9.3.4 Generating a Local RSA Key Pair
You need to create an RSA key before configuring SSH.
Context
Do as follows on the switchs that serve as a client or a server:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
rsa local-key-pair create
Issue 01 (2011-07-15)
Name and password of the local user are created.
NOTE
The authentication mode of the VTY user interface must be set to AAA. Otherwise, the protocol
inbound ssh command cannot be configured successfully.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 Telnet and SSH
125