Command Manual ( For Soliton ) – SSHH3C S3100 Series Ethernet Switches Chapter 1 SSH Commands1-35Note:z On an SSH server, you need to assign a public key to each SSH user usingpublickey authentication.z Both publickey and rsa-key indicate specifying the publickey key. They areimplemented with the same method.Related commands: display ssh user-information.Examples# Assign a public key named 127.0.0.1 to SSH client 1.system-viewSystem View: return to User View with Ctrl+Z.[Sysname]ssh user 1 assign publickey 127.0.0.1# Display SSH user information.[Sysname] display ssh user-informationUsername Authentication-type User-public-key-name Service-type1 publickey 127.0.0.1 stelnet1.1.31 ssh user authentication-typeSyntaxssh user username authentication-type { all | password | password-publickey |publickey | rsa }undo ssh user username authentication-typeViewSystem viewParametersusername: SSH user name, a string of 1 to 184 characters. It cannot contain any ofthese characters: slash (/), backslash (\), colon (:), asterisk (*), question mark (?), lessthan sign (<), greater than sign (>), and the vertical bar sign (|). In addition, the @ signcan appear up to once, the username part (that is, the string before the @ sign) cannotbe more than 55 characters, and the domain name part cannot be more than 128characters.all: Specifies that the authentication mode for the SSH user can be either passwordauthentication or publickey authentication.password: Specifies the authentication mode for the SSH user as passwordauthentication.