Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




NOTE: CentOS Enterprise Linux is built from the Red Hat Enterprise Linux source code. Other than logo and name changes CentOS Enterprise Linux is compatible with the equivalent Red Hat version. This document applies equally to both Red Hat and CentOS Enterprise Linux.

20.6. Requiring SSH for Remote Connections

For SSH to be truly effective, using insecure connection protocols, such as Telnet and FTP, should be prohibited. Otherwise, a user's password may be protected using SSH for one session, only to be captured later while logging in using Telnet.

Some services to disable include:

  • telnet

  • rsh

  • rlogin

  • vsftpd

To disable insecure connection methods to the system, use the command line program chkconfig, the ncurses-based program ntsysv, or the Services Configuration Tool (redhat-config-services) graphical application. All of these tools require root level access.

For more information on runlevels and configuring services with chkconfig, ntsysv, and the Services Configuration Tool, refer to the chapter titled Controlling Access to Services in the Red Hat Enterprise Linux System Administration Guide.

  Published under the terms of the GNU General Public License Design by Interspire