互联网技术/Telnet
外观
Telnet 是一种协议,旨在以客户端-服务器的方式远程访问计算机。 Telnet 本质上是不安全的,因为从客户端到服务器或反之传递的数据未加密。 对于通过不安全网络(如互联网)的连接,应使用 SSH(安全 Shell),以便对客户端和服务器之间的所有通信进行加密。
telnet localhost 80
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 smtp.mydomain.com
mail from:<[email protected]>
250 2.1.0 <[email protected]>... Sender ok
rcpt to:<[email protected]>
250 2.1.5 <[email protected]>... Recipient ok
data
354 Enter mail, end with "." on a line by itself
Let's meet
.
250 2.0.0 n514OvkN019941 Message accepted for delivery
quit
221 2.0.0 smtp.mydomain.com closing connection
Connection closed by foreign host.