Operation Manual – SSH
H3C S5500-EI Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 SSH Configuration.......................................................................................................1-1
1.1 SSH2.0 Overview...............................................................................................................1-1
1.1.1 Algorithm and Key...................................................................................................1-1
1.1.2 Asymmetric Key Algorithm......................................................................................1-2
1.1.3 SSH Operating Process..........................................................................................1-2
1.2 Configuring the Device as an SSH Server ........................................................................1-6
1.2.1 SSH Server Configuration Task List .......................................................................1-6
1.2.2 Enabling SSH Server..............................................................................................1-6
1.2.3 Configuring the User Interfaces for SSH Clients.....................................................1-6
1.2.4 Configuring RSA and DSA Keys.............................................................................1-7
1.2.5 Configuring a Client Public Key...............................................................................1-9
1.2.6 Configuring an SSH User......................................................................................1-10
1.2.7 Setting the SSH Management Parameters...........................................................1-12
1.3 Configuring the Device as an SSH Client........................................................................1-13
1.3.1 SSH Client Configuration Task List.......................................................................1-13
1.3.2 Specifying a Source IP address/Interface for the SSH client................................ 1-13
1.3.3 Configuring Whether First-time Authentication is Supported................................1-13
1.3.4 Establishing a Connection Between the SSH Client and the Server....................1-15
1.4 Displaying and Maintaining SSH .....................................................................................1-15
1.5 SSH Server Configuration Examples...............................................................................1-16
1.5.1 When Using Password Authentication..................................................................1-16
1.5.2 When Using Publickey Authentication..................................................................1-18
1.6 SSH Client Configuration Examples................................................................................1-24
1.6.1 When Using Password Authentication..................................................................1-24
1.6.2 When Using Publickey Authentication..................................................................1-27
Chapter 2 SFTP Service................................................................................................................ 2-1
2.1 SFTP Overview..................................................................................................................2-1
2.2 Configuring an SFTP Server..............................................................................................2-1
2.2.1 Configuration Prerequisites.....................................................................................2-1
2.2.2 Enabling the SFTP Server ......................................................................................2-1
2.2.3 Configuring the SFTP Connection Idle Timeout Period..........................................2-2
2.3 Configuring an SFTP Client...............................................................................................2-2
2.3.1 Specifying a Source IP Address or Interface for the SFTP Client ..........................2-2
2.3.2 Establishing a Connection to the SFTP Server.......................................................2-3
2.3.3 Working with the SFTP Directories.........................................................................2-3
2.3.4 Working with SFTP Files.........................................................................................2-4
2.3.5 Displaying Help Information....................................................................................2-5