1-6To do… Use the command… RemarksEnter system view system-view —Enable the SSH server function ssh server enable RequiredDisabled by defaultConfiguring the User Interfaces for SSH ClientsAn SSH client accesses the device through a VTY user interface. Therefore, you need to configure theuser interfaces for SSH clients to allow SSH login. Note that the configuration takes effect only forclients logging in after the configuration.Follow these steps to configure the protocols for the current user interface to support:To do… Use the command… RemarksEnter system view system-view —Enter user interface view of oneor more user interfacesuser-interface vty number[ ending-number ] —Set the login authenticationmode to scheme authentication-mode schemeRequiredBy default, the authenticationmode is password.Configure the user interface(s)to support SSH login protocol inbound { all | ssh }OptionalAll protocols are supported bydefault.z For detailed information about the authentication-mode and protocol inbound commands, referto User Interface Commands of the System Volume.z If you configure a user interface to support SSH, be sure to configure the correspondingauthentication method with the authentication-mode scheme command.z For a user interface configured to support SSH, you cannot change the authentication mode. Tochange the authentication mode, undo the SSH support configuration first.Configuring a Client Public KeyThis configuration task is only necessary for SSH users using publickey authentication.For each SSH user that uses publickey authentication to login, you must configure the client’s DSA orRSA host public key on the server, and configure the client to use the corresponding private key.