The ssh user service-type command configures the service type for the SSH user.
The undo ssh user service-type command cancels the service type for the SSH user and restores the default configuration, that is, no service type is adopted.
| Parameter | Description | Value |
|---|---|---|
| username | Specifies the name of an SSH user. | The value is a string of 1 to 253 characters. |
| sftp | Indicates the SFTP service type. | - |
| stelnet | Indicates the STelnet service type. | - |
| all | Indicates both the SFTP service type and the STelnet service type are configured for the user. | - |