How to install Telnet on CentOS 9 Stream

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

Hello, friends. In this post, you will learn how to install Telnet on CentOS 9 Stream. It may not be of much practical use today, but it is always important to do it for educational and testing purposes.

Telnet is the name of a network protocol that allows us to access another machine to manage it remotely as if we were sitting in front of it. It is a rather old protocol and few uses it nowadays, but it can be interesting for other purposes.

As expected, we can install or enable it in many Linux distributions without too many problems. A case in point is CentOS 9 Stream, which is a system very focused on the professional environment.

Let’s go for it.

Install Telnet in CentOS 9 Stream

First, we have to open a terminal or connect via SSH with the server and update it

sudo dnf update

Then, we have to enable the EPEL repository.

How to enable the EPEL repository in CentOS 9 Stream

With the EPEL repository enabled, we just need to install the telnet package that enables the protocol

sudo dnf install telnet

To be able to receive and send requests using Telnet, it is necessary to make some adjustments in the firewall

sudo firewall-cmd -add-service=telnet -zone=public
sudo firewall-cmd -add-service=telnet -zone=public - permanent

You can also open port 23 which is where Telnet mainly works.

Restart the firewall to apply the changes:

sudo firewall-cmd --reload

And now you can use it

telnet
1.- Telnet on CentOS 9 Stream
1.- Telnet on CentOS 9 Stream

Conclusion

Thanks to this post, you learned how to install Telnet on CentOS 9 Stream. Although it is an old protocol, it can still be useful for testing things and for testing.

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"
Angelo
Angelo
I am Angelo. A systems engineer passionate about Linux and all open-source software. Although here I'm just another member of the family.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook