1 Star 0 Fork 4.9K

丛林 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
kernel-small-debug-shell-net-telnet.md 2.94 KB
一键复制 编辑 原始数据 按行查看 历史
Annie_wang 提交于 2022-05-19 22:02 . update docs

telnet

Command Function

This command is used to enable or disable the Telnet server service.

Syntax

telnet [on | off]

Parameters

Table 1 Parameter description

Parameter

Description

Value Range

on

Enables the Telnet server service.

N/A

off

Disables the Telnet server service.

N/A

Usage

  • Before enabling Telnet, ensure that the network driver and network protocol stack have been initialized and the NIC of the board is in the link up state.

  • Currently, multiple clients (Telnet + IP) cannot connect to the development board at the same time.

    NOTICE: Telnet is used for debugging and is disabled by default. Do not use it in formal products.

Example

Run telnet on.

Output

Command output:

OHOS # telnet on
OHOS # start telnet server successfully, waiting for connection.
1
https://gitee.com/jungle8023/docs.git
git@gitee.com:jungle8023/docs.git
jungle8023
docs
docs
master

搜索帮助