Bring telnet back on macOS high Sierra

Ayuth Mangmesap
Oct 3, 2017 · 2 min read

UPDATE: JAN 20, 2018

macOS provided built in nc(netcat), therefore you can use nc in your command line as you do above in tutorial above.

No need to install telnet anymore!

Image for post
Image for post

After I’ve upgraded macOS to high Sierra (10.13) the telnet was removed. So, in this topic we’ll bring the telnet back again.

First one you need a homebrew, if not let’s type this command to install them.

Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Second, install telnet using homebrew

brew install telnet
Image for post
Image for post

Wait until install finished.

Image for post
Image for post

Playing with telnet

Now we have telnet installed so let’s try to play with them.

telnet cis.poly.edu 80

Enter the http request header.

GET /~ross/ HTTP/1.1
HOST: cis.poly.edu

and you’ll get output like this.

Image for post
Image for post

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade