1-5Server Client Server sideconfiguration Client side configurationAn H3C switch Another H3C switch Configuring the SSHServerConfiguring an SSH ClientAssumed by anSSH2-Capable SwitchConfiguring the SSH ServerThe session establishment between an SSH client and the SSH server involves five stages. Similarly,SSH server configuration involves five aspects, as shown in the following table.Table 1-2 Complete the following tasks to configure the SSH server:Task RemarksConfiguring the User Interfaces for SSHClients RequiredPreparationConfiguring the SSH ManagementFunctions OptionalVersion Configuring the SSH Server to BeCompatible with SSH1 ClientsOptionalThis task determines which SSHversions the server should support.By default, the SSH server iscompatible with SSH1 clients.Key Generating/Destroying Key Pairs RequiredCreating an SSH User and Specifyingan Authentication Type RequiredAuthenticationSpecifying a Service Type for an SSHUserOptionalBy default, an SSH user can use theservice type of stelnet.Configuring the Public Key of a Clienton the Serverz Not necessary when theauthentication mode ispassword.z Required when the authenticationmode is publickey.Assigning a Public Key to an SSH Userz Not necessary when theauthentication mode ispassword.z Required when the authenticationmode is publickey.Data exchangeExporting the RSA or DSA Public KeyOptionalIf a client does not support first-timeauthentication, you need to exportthe server’s public key and configurethe key on the client.