简介

Telnet是一个应用层协议。使用于互联网局域网中,使用虚拟终端机的形式,提供双向、以文字字符串为主的命令行接口交互功能。

1
2
wikipedia:
Telnet is a protocol used on the Internet or local area network to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. User data is interspersed in-band with Telnet control information in an 8-bit byte oriented data connection over the Transmission Control Protocol (TCP).

通常也用来测试远程端口是否开启。

启用

在 windows 7下,默认是没有启用telnet的。需要通过

1
控制面板->程序和功能->打开或关闭Windows功能->勾选Telnet客户端和Telnet服务端

来启用。

示例

1
telnet 47.98.108.25 5432