How to install telnet on High Sierra

by: 
Last modified: Apr 17, 2018 12:18 AM
4 20008 Last modified Apr 17, 2018 12:18 AM

Open Terminal.app then type:


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


brew install telnet

Comments

Apr 17, 2018 1:14 AM

Interesting tip.


I would just want to add that there is a good reason Apple removed telnet from the OS.

telnet should only be used when absolutely necessary, such as when you are controlling an older device that does not support a more secure protocol.

In all possible cases, use ssh to connect; never use telnet over the internet.

Apr 17, 2018 1:14 AM

Apr 17, 2018 2:43 AM

Alternatively, macOS provided built in nc(netcat), therefore you can use nc in your command line:

nc 192.168.1.1 23
for instance

Apr 17, 2018 2:43 AM

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.