Thread: Telnet?
View Single Post
  #2 (permalink)  
Old 06-11-09, 11:18
Rocky's Avatar
Rocky Rocky is offline
Administrator
 
Join Date: Nov 2007
Posts: 123
Cool

Quote:
Originally Posted by larrysstyle View Post
Can anyone help me figure out how to disable Telnet? I want to disable it and replace it with Ssh. Just not sure how to go about it.
Hi Larry.. follow these steps to disable telnet on your server:
  1. SSH into server and login as root.
  2. At shell command prompt type the following command and press Enter. This example use pico to edit text file, you can use vi or other text editor if you want. pico -w /etc/xinetd.d/telnet
  3. Locate the following line: disable = no
    Change the “disable = no” to “disable = yes” (no to yes).
  4. Save and exit.
  5. Restart the inetd service by using the following command: /etc/rc.d/init.d/xinetd restart
  6. Turn off Telnet through chkconfig as well because it can still start through that: /sbin/chkconfig telnet off
Do get back if you come across any obstacles
__________________
Regards,
Rocky
Reply With Quote