Telnet is a network protocol used to provide bidirectional interactive text communication over TCP. It allows connecting a client (with display and keyboard) to a remote command line interface. Telnet uses ASCII encoding and negotiates options to support advanced functions. While it provided remote access historically, security issues have led to decreased use for that purpose in favor of SSH.