iTable of Contents1 SSH2.0 Configuration································································································································1-1SSH2.0 Overview····································································································································1-1Introduction to SSH2.0 ····················································································································1-1Operation of SSH ····························································································································1-1Configuring the Device as an SSH Server······························································································1-4SSH Server Configuration Task List································································································1-4Generating a DSA or RSA Key Pair ································································································1-4Enabling SSH Server·······················································································································1-5Configuring the User Interfaces for SSH Clients·············································································1-5Configuring a Client Public Key·······································································································1-6Configuring an SSH User ················································································································1-7Setting the SSH Management Parameters ·····················································································1-8Configuring the Device as an SSH Client ·······························································································1-9SSH Client Configuration Task List ·································································································1-9Specifying a Source IP address/Interface for the SSH client ··························································1-9Configuring Whether First-time Authentication is Supported ························································1-10Establishing a Connection Between the SSH Client and the Server ············································1-11Displaying and Maintaining SSH···········································································································1-11SSH Server Configuration Examples····································································································1-12When Switch Acts as Server for Password Authentication ···························································1-12When Switch Acts as Server for Publickey Authentication ···························································1-14SSH Client Configuration Examples ·····································································································1-19When Switch Acts as Client for Password Authentication ····························································1-19When Switch Acts as Client for Publickey Authentication·····························································1-222 SFTP Service··············································································································································2-1SFTP Overview ·······································································································································2-1Configuring an SFTP Server···················································································································2-1Configuration Prerequisites ·············································································································2-1Enabling the SFTP Server···············································································································2-1Configuring the SFTP Connection Idle Timeout Period ··································································2-2Configuring an SFTP Client ····················································································································2-2Specifying a Source IP Address or Interface for the SFTP Client···················································2-2Establishing a Connection to the SFTP Server···············································································2-2Working with the SFTP Directories ·································································································2-3Working with SFTP Files ·················································································································2-4Displaying Help Information ············································································································2-4Terminating the Connection to the Remote SFTP Server·······························································2-5SFTP Client Configuration Example ·······································································································2-5SFTP Server Configuration Example······································································································2-8