The service-type command sets a login method or service type.
The undo screen-type command restores the default login method or service type.
| Parameter | Description | Value |
|---|---|---|
api |
Indicates the API service. |
- |
ftp |
Indicates the FTP service. |
- |
ssh |
Indicates the SSH service. |
- |
telnet |
Indicates the Telnet login method. |
- |
terminal |
Indicates the console login method. |
- |
web |
Indicates the web login method. |
- |
By default, no service type is specified for an administrator created using the CLI.
There are security risks if the service type is configured to be Telnet or FTP. So it is suggested to configure the service type to be SSH.
If the service type of an administrator account is changed from API to FTP/SSH/Telnet/Terminal/Web or vice versa, an administrator that logs in using this account is forced out.
If the service type of an administrator account is changed among FTP/SSH/Telnet/Terminal/Web, the service type of an administrator that already logs in using this account is not changed, and the service type of an administrator that newly logs in using this account is subject to the change.
The service types of virtual system administrators can be Web, Telnet, and SSH only.
The API service is mutually exclusive with other service types. If you specify the API service type, you cannot specify other service types.
The service type cannot be set to API for an account that has been bound to a role other than device-admin(monitor).