Telnet command is a valuable tool for any network or system administrator. It allows for troubleshooting and manipulation of various services.
The telnet package is not installed by default on RHEL 8 / CentOS 8 server but can be easily installed by using the
In this tutorial you will learn:
- How to install Telnet on RHEL 8 / CentOS 8.
- How to use telnet command to connect to a specific port.
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||RHEL 8 / CentOS 8|
|Other||Privileged access to your Linux system as root or via the
# – requires given linux commands to be executed with root privileges either directly as a root user or by use of
$ – requires given linux commands to be executed as a regular non-privileged user
How to install telnet command in RHEL 8 / CentOS 8 step by step instructions
- Use the
dnfcommand to install the
# dnf install telnet
- Use the
telnetcommand to connect to a host with the IP address
18.104.22.168on port 53:
$ telnet 22.214.171.124 53