Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
Contents
Issue 05 (2010-01-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i
Contents
9 Telnet and SSH...........................................................................................................................9-1
9.1 Introduction...................................................................................................................................................9-1
9.1.1 Overview of User Login ......................................................................................................................9-2
9.1.2 Telnet Terminal Services......................................................................................................................9-2
9.1.3 SSH Terminal Services ........................................................................................................................9-3
9.2 Configuring Telnet Terminal Services...........................................................................................................9-6
9.2.1 Establishing the Configuration Task ....................................................................................................9-6
9.2.2 Establishing a Telnet Connection.........................................................................................................9-7
9.2.3 Scheduled Telnet Disconnection ..........................................................................................................9-7
9.2.4 Checking the Configuration .................................................................................................................9-7
9.3 Configuring SSH Users.................................................................................................................................9-8
9.3.1 Establishing the Configuration Task ....................................................................................................9-8
9.3.2 Creating an SSH User ..........................................................................................................................9-9
9.3.3 Configuring SSH for the VTY User Interface....................................................................................9-10
9.3.4 Generating a Local RSA Key Pair .....................................................................................................9-10
9.3.5 Configuring the Authentication Mode for SSH Users........................................................................9-11
9.3.6 Configuring the Basic Authentication Information for SSH Users ....................................................9-12
9.3.7 Authorizing SSH Users Through the Command Line........................................................................9-12
9.3.8 Configuring the Service Type of SSH Users......................................................................................9-13
9.3.9 Configuring the Authorized Directory of SFTP Service for SSH Users ............................................9-13
9.3.10 Checking the Configuration .............................................................................................................9-13
9.4 Configuring the SSH Server........................................................................................................................9-14
9.4.1 Establishing the Configuration Task ..................................................................................................9-14
9.4.2 Enabling the STelnet Service .............................................................................................................9-15
9.4.3 Enabling the SFTP Service ................................................................................................................9-15
9.4.4 Enabling the Earlier Version-Compatible Function ...........................................................................9-15
9.4.5 Configuring the Number of the Port Monitored by the SSH Server ..................................................9-16
9.4.6 Enabling the Trap Function................................................................................................................9-16
9.4.7 Configuring the Interval for Updating the Key Pair on the SSH Server ............................................9-17
9.4.8 Checking the Configuration ...............................................................................................................9-17
9.5 Configuring the STelnet Client Function ....................................................................................................9-17
9.5.1 Establishing the Configuration Task ..................................................................................................9-17