A Quick Tutorial on Telnet

How to use telnet with terminal commands

By Rob Johnson

Sun Oct 06 2013

# tutorial

Telnet is a network protocol used on the Internet or local area networks to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. – Wikipedia

Download

If you don't have telnet installed, install it with this following terminal command:

sudo apt install telnet

How to use

Enter the following lines into terminal

telnet robkjohnson.com 80
GET / HTTP/1.1
host: robkjohnson.com

What is returned is essentially plain text of the source code. Which is exactly what your browser receives through the same GET/HTTP1.0 or GET/HTTP1.1 request.

Security

Telnet is an old protocol that does not have any security, so anyone can eavesdrop on your connection. So make sure you're not accessing anything private with it.

Thanks goes to @xunker for teaching me this.

http://rubular.com \s-\s(\d{7})

# commerce 4 # seo 3 # productivity 1 # tutorial 14 # sql 3 # javascript 7 # projects 4 # git 2 # php 3 # analytics 3 # ux 1 # python 2 # aws 2 # mobile 1