openharmony 鸿蒙 kernel-small-debug-shell-net-telnet

2022-08-09 浏览 (803)

telnet

Command Function

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

Syntax

telnet [on|off]

Parameters

Table 1 Parameter description

ParameterDescriptionValue Range
onEnables the telnet server service.N/A
offDisables the telnet server service.N/A

Usage Guidelines

  • 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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Kernel

harmony 鸿蒙Kernel Coding Specification

harmony 鸿蒙Standard Libraries

harmony 鸿蒙Interrupt Management

harmony 鸿蒙Event

harmony 鸿蒙Mutex

harmony 鸿蒙Queue

harmony 鸿蒙Semaphore

harmony 鸿蒙Doubly Linked List

harmony 鸿蒙Memory Management

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/d3a38688b258427ebb411f65ebfa1d6a