To enable TCP port 22 to support the STelnet service, run the stelnet server enable command. A client can connect to a remote SSH server by STelnet only after the STelnet service is enabled on the SSH server.
The stelnet server enable command enables both IPv4 and IPv6 STelnet services on the SSH server.
After you disable the STelnet service on the SSH server, all clients that have logged in through STelnet are disconnected.
Example
# Enable the STelnet service on the SSH server.
<HUAWEI> system-view
[~HUAWEI] stelnet server enable