ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Telnet in RHEL5

Updated on April 8, 2009

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.

Comments

    0 of 8192 characters used
    Post Comment

    • profile image

      Senthil 7 years ago

      Excellent .. This works like a charm! Thank you.

    • balagi27 profile image
      Author

      Balamurugan M 7 years ago from India

      Hai senthil... Thanks for comment.. more available here in

      http://linuxtheworld.blogspot.com

    • profile image

      Abhishek Kumar 7 years ago

      Thanks for the short and informative post... Thank you very much...

    • profile image

      Sushil 6 years ago

      Linux is very powerfull. but someone is always required to tell the best technique.

      Thanks a lot.

    • balagi27 profile image
      Author

      Balamurugan M 6 years ago from India

      Thanks sushil for your comments

    • profile image

      vishal vyas 6 years ago

      nice post..... :)

    • balagi27 profile image
      Author

      Balamurugan M 6 years ago from India

      thanks vishal

    • profile image

      suresh 6 years ago

      very useful commands

    • profile image

      m.theresh 6 years ago

      u command help full me thank you

    • balagi27 profile image
      Author

      Balamurugan M 6 years ago from India

      More such informations available in my blog

      http://linuxtheworld.blogspot.com

    • profile image

      Sendil HCL Chennai 6 years ago

      Dear sir,its really nice and help full to me.. thank u very much

    Click to Rate This Article