telnet 连接有时会关闭,并显示错误"Connection closed by foreign host"。
Issue
- 有时,telnet 连接关闭,并显示错误"Connection closed by foreign host"。
- 例如:
# telnet 127.0.0.1 23
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Kernel 4.18.0-193.el8.x86_64 on an x86_64
Connection closed by foreign host.
Environment
- Red Hat Enterprise Linux 8
- telnet-server-0.17-73.el8.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.