Monday, February 8, 2016

Installing telnet client

[root@rhel65dbs selinux]# telnet
bash: telnet: command not found
[root@rhel65dbs selinux]# yum install telnet -y
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
server                                                                                                                                                                                                                | 3.9 kB     00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-47.el6_3.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                               Arch                                                  Version                                                             Repository                                             Size
=============================================================================================================================================================================================================================================
Installing:
 telnet                                                x86_64                                                1:0.17-47.el6_3.1                                                   server                                                 58 k

Transaction Summary
=============================================================================================================================================================================================================================================
Install       1 Package(s)

Total download size: 58 k
Installed size: 109 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:telnet-0.17-47.el6_3.1.x86_64                                                                                                                                                                                           1/1
  Verifying  : 1:telnet-0.17-47.el6_3.1.x86_64                                                                                                                                                                                           1/1

Installed:
  telnet.x86_64 1:0.17-47.el6_3.1                                                                                                                                                                                                           

Complete!
[root@rhel65dbs selinux]# telnet localhost 22
Trying ::1...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-OpenSSH_5.3

Protocol mismatch.
Connection closed by foreign host.
[root@rhel65dbs selinux]#

No comments:

Post a Comment