Is there still a way to load Telnet on OS10.13

I need to Telnet into a server to send commands so that it will accept SSH.

I am limited to OS10.13.6.

I have read where I can load Telnet through Brew.

So I installed Brew.

Then I tried to install Telnet.

Brew stated that I needed xcode.

Downloaded xcode CommandLineTools.

Brew stated I needed the full version of xcode.

Downloaded the full version of xcode.

I removed the CLT folder from /Library/Developer.

Brew said it needed CLT, so I moved the folder back.

Now Brew is saying:


"xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance"


"Error: You are using macOS 10.13.

We (and Apple) do not provide support for this old version.

It is expected behaviour that some formulae will fail to build in this old version."


Is there another way to install Telnet on a machine running 10.13.6?


And I have another Mac, a Macbook.....but it is also limited to 10.13.6!!



Posted on Dec 13, 2023 5:34 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 13, 2023 5:52 PM

See if you can send the necessary telnet commands over with the curl tool. Something like this:

curl --telnet-option TTYPE=vt100 telnet://example.com:23


A direct build with the command-line tools without Homebrew probably still works. With the command-line tools installed, and that would look something like this:


xcode-select --install
curl -o https://ftp.gnu.org/gnu/inetutils/inetutils-2.4.tar.gz
tar xzf inetutils-2.4.tar.gz
cd inetutils-2.4
./configure
make
sudo make install


For assistance with Homebrew, check with the Homebrew folks.


On Xcode that far back, I don't recall the particular location of the installation within Xcode. On semi-recent Xcode, use Xcode > Preferences > Location > Command Line Tool > Select the command line tools version

4 replies
Question marked as Top-ranking reply

Dec 13, 2023 5:52 PM in response to AugieM59

See if you can send the necessary telnet commands over with the curl tool. Something like this:

curl --telnet-option TTYPE=vt100 telnet://example.com:23


A direct build with the command-line tools without Homebrew probably still works. With the command-line tools installed, and that would look something like this:


xcode-select --install
curl -o https://ftp.gnu.org/gnu/inetutils/inetutils-2.4.tar.gz
tar xzf inetutils-2.4.tar.gz
cd inetutils-2.4
./configure
make
sudo make install


For assistance with Homebrew, check with the Homebrew folks.


On Xcode that far back, I don't recall the particular location of the installation within Xcode. On semi-recent Xcode, use Xcode > Preferences > Location > Command Line Tool > Select the command line tools version

Dec 14, 2023 7:35 AM in response to Servant of Cats

Servant of Cats wrote:

This article suggests skipping the "sudo make install" and copying just the (insecure) telnet and ftp clients into /usr/local/bin. The reason being that "sudo make install" supposedly copies in a whole bunch of commands that "do not work as expected afterwards."

https://www.unixfu.ch/get-telnet-and-ftp-client-back-on-macos-high-sierra/


Good info. I usually use the Serial app, which does a whole lot more than does the GNU telnet client. And when I’ve needed the old-style telnet, the curl stuff has worked, and homebrew has worked—but I’m also running a rather more recent macOS than macOS 10.13.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Is there still a way to load Telnet on OS10.13

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