H3C s3600 series Command Manual page 984

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Parameters
username: SSH user name, a string of 1 to 184 characters. It cannot contain any of these characters:
slash (/), backslash (\), colon (:), asterisk (*), question mark (?), less than sign (<), greater than sign (>),
and the vertical bar sign (|). In addition, the @ sign can appear up to once, the username part (that is,
the string before the @ sign) cannot be more than 55 characters, and the domain name part cannot be
more than 128 characters.
all: Specifies that the authentication mode for the SSH user can be either password authentication or
publickey authentication.
password: Specifies the authentication mode for the SSH user as password authentication.
password-publickey: Specifies the authentication mode for the SSH user as password and publickey.
publickey: Specifies the authentication mode for the SSH user as publickey (RSA key or DSA key )
authentication.
rsa: Specifies the authentication mode for the SSH user as publickey (RSA key or DSA key )
authentication. The authentication modes specified by the rsa keyword and publickey keyword are
implemented in the same way
For the password-publickey authentication type:
SSH1 client users can access the switch as long as they pass one of the two authentications.
SSH2 client users can access the switch only when they pass both the authentications.
Description
Use the ssh user authentication-type command to specify the authentication mode for SSH users on
the server.
Use the undo ssh user authentication-type command to remove the configuration.
You need to specify the authentication mode for an SSH user. Otherwise, the user will not be able to log
in to the SSH server.
Related commands: display ssh user-information.
Examples
# Specify the publickey authentication for SSH users.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname]ssh user kk authentication-type publickey
# Display SSH user information.
1-32

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents