Telnet sends clear text passwords and usernames through logins and should be disabled on all web servers and replaced with SSH.
Some hosting providers are not disabling telnet by default but you should ensure that it has been turned off as it’s a great security risk to your servers. TELNET server listens for incoming messages on port 23, and sends outgoing messages to port 23.
- Login to your server through SSH and
suto root - Type:
pico -w /etc/xinetd.d/telnet - Look for the line:
disable = noand replace withdisable = yes - Now restart the inetd service:
/etc/rc.d/init.d/xinetd restart - Turn off it through chkconfig as well because it can still start through that.
/sbin/chkconfig telnet off - 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 kill the process.
Print This Post
Blogsphere: TechnoratiFeedsterBloglines
Bookmark: Del.icio.usSpurlFurlSimpyBlinkDigg
RSS feed for comments on this post | TrackBack URI for this post
Related Post:
- Email Alert on Root SSH Login
- Disable Direct Root Logins
- Disabling Password Reset Option cPanel/WHM
- Howto Turning Off Smartctrl Notices
- Howto Prevent Directory Listing on cPanel
