Linux Unix help !!

"Give respect to Time, One day at right Time, Time will respect You"

Thursday, January 27, 2011

telnet in linux

Telnet configuration in RHEL5
First check whether telnet-server rpm in installed,
# rpm -q telnet-server
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.
============


Myne conclusion
1> off firewall
2> chkconfig krb5-telnet on
3> please not do not on krb5-telnet
4> service xinetd restart
5> do telnet my dude it will now work fine!

Have a niceva day!!!

:wq  :)


               
# Faced any problem Feedback in above contact me                                       
#===============================Scratch===============================#
#                                                            AND Many More .....................Linux is Endless                 #
#========================== Hope you Liked IT ===========================#
#                                                                                                       TELNET -- BY Shirish Shukla #
#                                                                                                                      RHC Engineer 2010 #
#                                                                                                                 shirish.linux@gmail.com #
#                                                                                                               shirishlinux.blogspot.com #
#                                      "Give Respect To Time One Day At Right Time, Time Will Respect You" #
#===================================================================#
# TRy Hard theres nothing that are un-achievable by HARDdd-WORKkk     #
#=====================================================================#

1 comment:

  1. Good IPtool
    http://tuxgraphics.org/toolbox/network_address_calculator_add.html

    --Shirish

    ReplyDelete

Write Here .. your comments are always wellcome ..but no spam please !!

Followers

Pls LIKE my Story !!!