| Parameter | Description | Value |
|---|---|---|
| user-name | Specifies the name of an SSH user. | The value is a string of 1 to 253 characters. |
Yo can create a user using either of the following methods:
Run the ssh user command.
After the ssh user authentication-type, ssh user service-type, and ssh user sftp-directory command are run, the system automatically create a user named user-name if the system detects that the user named user-name does not exist.
When the undo ssh user [ user-name ] command is executed to delete SSH users, if user-name is specified, the specified SSH user is deleted. If user-name is not specified, all SSH users are deleted.
After running this command to create an SSH user, you must run the ssh user authentication-type command to specify the authentication mode for the SSH user. Otherwise, the SSH user fails to log in.