H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – SSH
H3C S7500E Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 SSH Configuration....................................................................................................... 1-1
1.1 SSH 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-5
1.2.1 SSH Server Configuration Task List ....................................................................... 1-5
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 Keys ............................................................................................ 1-7
1.2.5 Configuring a Client Public Key............................................................................... 1-8
1.2.6 Configuring an SSH User........................................................................................ 1-9
1.2.7 Setting the SSH Management Parameters........................................................... 1-10
1.3 Configuring the Device as an SSH Client........................................................................ 1-11
1.3.1 SSH Client Configuration Task List....................................................................... 1-11
1.3.2 Specifying a Source IP address/Interface for SSH Client..................................... 1-12
1.3.3 Configuring First-time Authentication.................................................................... 1-12
1.3.4 Establishing a Connection Between SSH Client and Server ................................ 1-13
1.4 Displaying and Maintaining SSH ..................................................................................... 1-14
1.5 SSH Server Configuration Examples............................................................................... 1-15
1.5.1 When Using Password Authentication.................................................................. 1-15
1.5.2 When Using Publickey Authentication .................................................................. 1-17
1.6 SSH Client Configuration Examples................................................................................ 1-23
1.6.1 When Using Password Authentication.................................................................. 1-23
1.6.2 When Using Publickey Authentication .................................................................. 1-26
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/Interface for 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