How to Install Telnet Client on RHEL 6/7, CentOS 6/7, Oracle Linux 6/7

Share this Article :

Install Telnet

Telnet is one of the most frequently used software by the system administrator, program developers and anyone who needs to use the application or data that is located in a particular host computer.

It is a network protocol used on the internet or a local area network to provide text-oriented interactive bidirectional communication facility using a virtual terminal connection.

Telnet client is not installed automatically on all linux distribution with a minimum installation.

Telnet has two different packages which are telnet client and telnet server package. If you do a “yum install telnet” it will only contain client telnet program.

This article explain how to install telnet client program and tested on various linux platform.

How to Install Telnet Client on RHEL 6/7, CentOS 6/7, Oracle Linux 6/7

1. Issue the following commands to confirm that telnet is installed or not :

# telnet localhost 80

If telnet client does not installed, it should return something like :

# telnet localhost 80
-bash: telnet: command not found

2. Verify telnet client using which command :

# which telnet
/usr/bin/which: no telnet in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

3. Issue the following command to install telnet client :

# yum install telnet -y

4. If telnet client installed, it should return something like :

# telnet localhost 80
Trying ::1...
Connected to localhost.
Escape character is '^]'.

or

# which telnet
/usr/bin/telnet

 

One Response

  1. Lucas

Leave a Reply