Operation Manual – SSHH3C S3100 Series Ethernet Switches Chapter 1 SSH Configuration1-12Caution:If the ssh user service-type command is executed with a username that does not exist,the system will automatically create the SSH user. However, the user cannot log inunless you specify an authentication type for it.1.3.7 Configuring the Public Key of a Client on the ServerNote:This configuration is not necessary if the password authentication mode is configuredfor SSH users.With the publickey authentication mode configured for an SSH client, you mustconfigure the client’s RSA or DSA host public key(s) on the server for authentication.You can manually configure the public key or import it from a public key file. In theformer case, you can manually copy the client’s public key to the server. In the lattercase, the system automatically converts the format of the public key generated by theclient to complete the configuration on the server, but the client’s public key should betransferred from the client to the server beforehand through FTP/TFTP.Table 1-8 Follow these steps to configure the public key of a client manually:To do... Use the command... RemarksEnter system view system-view —Enter public key view public-key peerkeyname RequiredEnter public key edit view public-key-code begin —Configure a public key forthe clientEnter the content of thepublic keyWhen you input the keydata, spaces are allowedbetween the charactersyou input (because thesystem can remove thespaces automatically);you can also press to continue yourinput at the next line. Butthe key you input shouldbe a hexadecimal digitstring coded in the publickey format.