Telnet
What is Telnet?
Telnet is a protocol used to provide a bi-directional textual communication between computers in a network via TCP/IP.
Description
The Telnet service will simulate a Telnet server.
Syntax
[service.<nickname_of_telnetService>]
type="telnet"
Arguments in config file
There are 2
arguments in telnet
service:
argument | default setting | explanation |
---|---|---|
prompt |
$ | Set the prompt of your server |
motd |
↓ see below ↓ | Set the motd of your server. |
********************************************************************************
* Copyright(C) 2008-2015 Huawei Technologies Co., Ltd. *
* All rights reserved *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
* Notice: *
* This is a private communication system. *
* Unauthorized access or use may lead to prosecution. *
********************************************************************************
Warning: Telnet is not a secure protocol, and it is recommended to use STelnet.
Login authentication
Example
[service.telnet]
type="telnet"
prompt=">"
[[port]]
port="tcp/23"
services=["telnet"]
How to test
> telnet [IP-ADDRESS] 23
Availability
Linux | MacOS | |
---|---|---|
telnet | yes | brew install telnet |