1-8To do... Use the command... RemarksSpecify a source interface for theSSH serverssh-server source-interfaceinterface-type interface-numberOptionalBy default, no source interface isconfigured.z You can configure a login header only when the service type is stelnet. For configuration ofservice types, refer to Specifying a Service Type for an SSH User on the Server.z For details of the header command, refer to the corresponding section in Login Command.Configuring the SSH Server to Be Compatible with SSH1 ClientsFollow these steps to configure the SSH server to be compatible with SSH1 clients:To do... Use the command... RemarksEnter system view system-view —Configure the SSH server to becompatible with SSH1 clientsssh server compatible-ssh1xenableOptionalBy default, the SSH server iscompatible with SSH1 clients.Configuring Key PairsThe SSH server’s key pairs are for generating session keys and for SSH clients to authenticate theserver. The SSH client's key pairs are for the SSH server to authenticate the SSH clients in publickeyauthentication mode. Both RSA and DSA key pairs are supported.As different clients may support different public key algorithms, the key pairs negotiated between theserver and clients may be different. Therefore, you need to generate both RSA and DSA key pairs onthe server to ensure that clients can log in to the server successfully.You can specify an algorithm for publickey authentication as needed.Generating key pairsWhen generating a key pair, you will be prompted to enter the key length in bits, which is between 512and 2048. The default length is 1024. If the key pair already exists, the system will ask whether tooverwrite it.Follow these steps to create key pairs:To do... Use the command... RemarksEnter system view system-view —Generate keypair(s)Generate an RSA keypairs public-key local create rsaRequiredBy default, no keypairs are generated.