Despite being largely replaced by SSH for general purpose applications the telnet protocol is still in demand for various legacy systems such as those requiring TN3270 or TN5250 sessions. Telnet is, of course, an inherently insecure protocol and lacks any form of data encryption. Extensions to the otherwise insecure Telnet protocol implement TLS security and it's here that TLS has relevance for terminal emulation applications.