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 ipv4 server enable command enables the IPv4 STelnet service on the SSH server.The stelnet ipv6 server enable command enables the IPv6 STelnet service 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 ipv4 STelnet service on the SSH server.
<HUAWEI> system-view
[~HUAWEI] stelnet ipv4 server enable