How to install Telnet on linux 8.10

During configuration of a DR server, when i try to do telnet from primary to dr, the telnet utility is not working on primary, so this is the procedure to install telnet.

ERROR:
telnet “IP” 1572
bash: telnet: command not found…
Install package ‘telnet’ to provide command ‘telnet’? [N/y] y

  • Waiting in queue…
    The following packages have to be installed:
    telnet-1:0.17-76.el8.x86_64 The client program for the Telnet remote login protocol
    Proceed with changes? [N/y] y
  • Waiting in queue…
  • Waiting for authentication… Failed to install packages: Failed to obtain authentication.

Login to root

Welcome root

cd stuff/media/dvd/AppStream/Packages/

pwd
/media/dvd/AppStream/Packages

ls -lrt telnet
-r–r–r–. 1 root root 73528 Apr 7 2021 telnet-0.17-76.el8.x86_64.rpm
-r–r–r–. 1 root root 49076 Apr 7 2021 telnet-server-0.17-76.el8.x86_64.rpm
-r–r–r–. 1 root root 72846 Jul 1 2022 rubygem-net-telnet-0.2.0-109.module+el8.6.0+20693+52f02d9c.noarch.rpm
-r–r–r–. 1 root root 73974 Jul 3 2023 rubygem-net-telnet-0.2.0-139.module+el8.8.0+21111+2e34bf27.noarch.rpm
-r–r–r–. 1 root root 72038 Oct 30 2023 rubygem-net-telnet-0.1.1-111.module+el8.9.0+90042+a65659a6.noarch.rpm


[root@ebs (Packages)]$ 11:33:45 > rpm -ivh telnet-0.17-76.el8.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
Updating / installing…
1:telnet-1:0.17-76.el8 ################################# [100%]


there were also some network restriction because of which the primary and DR were not communicating for which I had to ask the Linux engineer to allow those restriction.
You can check that too.

RESULT:
telnet “IP” 1572
Trying “IP”…
Connected to “IP”.
Escape character is ‘^]’.

This entry was posted in Uncategorised. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *