liuchao 677533ee03 [telnet]修复5.1.0下RT_USING_POSIX_STDIO打开后的编译和使用 1 jaar geleden
..
README-en.md 1005911238 【增加】增加英文readme 5 jaren geleden
README.md fe3373d4ea Updat telnet/README.md . 7 jaren geleden
SConscript dd2d890fba [sconscript] 去除无.h文件的文件夹路径 4 jaren geleden
telnet.c 677533ee03 [telnet]修复5.1.0下RT_USING_POSIX_STDIO打开后的编译和使用 1 jaar geleden

README-en.md

Telnet: Remote login RT-Thread

1 Introduction

Telnet The protocol is an application layer protocol, used in the Internet and local area networks, in the form of a virtual terminal, providing two-way, text string-based Interactive function. It belongs to one of the TCP/IP protocol suites. It is the standard protocol and main method of Internet remote login service. It is often used for remote control of web servers and allows users to run work on the remote host on the local host.

RT-Thread currently supports Telnet server. After the Telnet client is successfully connected, it will remotely connect to the Finsh/MSH of the device to realize remote control of the device.

2. Use

2.1 Start Telnet server

You need to use the Finsh/MSH command on RT-Thread to start the Telnet server. The general effect is as follows:

msh />telnet_server
Telnet server start successfully
telnet: waiting for connection
msh />

2.2 Remote login to Telnet server

Install a terminal that supports Telnet client on the local computer, such as putty, Xshell, SecureCRT, here putty is used for demonstration:

  • 1. Open putty and select Telnet mode;
  • 2. Enter the Telnet server address and click Open;
  • 3. After the connection is successful, you can use RT-Thread Finsh/MSH in the terminal;

telnet_connect_cfg

telnet_connected

2.3 Notes

  • 1. After a successful connection with the Telnet server, the local Finsh/MSH of the device cannot be used. If you need to use it, just disconnect the connected Telnet client;
  • 2. Telnet does not support the shortcut keys of TAB auto-completion, Up/Down to check history, etc.;
  • 3. Currently, Telnet server only supports connecting to 1 clients.