Answered by the Webhosting Experts

How to Disable Telnet access on server?

1. Login to your server as a root user.

 

2. Edit the file as follows:

# vi /etc/xinetd.d/telnet

 

3. Look for the line: disable = no and replace with disable = yes

 

4. Now restart the inetd service:

#/etc/rc.d/init.d/xinetd restart

 

5. Turn off it through chkconfig as well because it can still start through that.

#/sbin/chkconfig telnet off

 

6. Scan your server to ensure port 23 is closed.

#nmap -sT -O localhost

 

Also run ps -aux | grep telnet and if you find anything other than “grep telnet” as result ,then in that case kill that process.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.