Showing posts with label telnet. Show all posts
Showing posts with label telnet. Show all posts

Wednesday, April 8, 2009

Telnet in RHEL5

First check whether telnet-server rpm in installed,
# rpm -q telnet-s
erver
telnet-server-0.17-38.el5
If it is installed, then edit
# vi /etc/xinet.d/telnet
change the line disable= yes to disable = no
Then # service xinetd restart
Now We can able to telnet connection of linux system.
Note : It works for the system which is not protected with IPtables and Selinux
If you have iptables enabled. then please follow as below,
Make a rule to allow telnet from external clients
# iptables -I INPUT -p tcp --dport 23 -j ACCEPT
# service iptables save
# service iptables restart
Just give following command and make sure that rule is saved.

# iptables -L
This rule is to allow request coming to port number 23 i.e. telnet connections from any client.

Ansible Playbook to collect uptime of servers

Hi,  This is to explain how we can write a small playbook to collect uptime of all servers in our environment. We can use our own server l...