protocolsandservers networkservices

Telnet is a protocol to communicate with another computer. It can be used to send messages in any protocols, as long as you use the protocol "language", which is often hard.

🐊️ Port: 23 (TCP)

πŸ”₯ Telnet communications are not encrypted.

$ telnet IP port
# 1. the server sends the protocol banner
# 2. the user writes text while following the protocol

As an example, for HTTP version 1.1, you can write

$ telnet IP 80
GET / HTTP/1.1
# leave two blank lines (press ENTER twice)

To exit, use CTRL+] then CTRL+D or exit/quit.