harmony 鸿蒙telnet

  • 2022-08-09
  • 浏览 (626)

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

0  赞