Q. I’ve CentOS Linux cpanel server. I’d like to turn off SFTP server but only allow SSH for root user. How do I trun off sftp server? A. OpenSSH / sshd reads configuration data from /etc/ssh/sshd_config. The file contains keyword-argument pairs, one per line. Lines starting with ‘#’ and empty lines are interpreted as comments. [...]
Q. How do I upgrade my CentOS Linux 5.0 dedicated server to WHM / cPanel edge release?
Q. How do I Monitor Linux User Activity in real time? A. The whowatch program scans the most current common log file of Linux server and creates the following statistics in real time: => The users currently logged on to the machine, in real-time. => User login name, => User tty => User host name [...]
Q. I am running SSH/MySQL/Webserver and setup iptables based firewall. But my logs are send to console rather than the system log files. How do make sure that iptables LOG target messages are send to /var/log/messages file? A. IPTABLES LOG module turns on kernel logging of matching packets. When this option is set for a [...]
Both rsh or rlogin prompt for a password. All you need to do is open /etc/hosts.equiv file on host system and add entries for all hosts you would like use without password . This file list of hosts and users that are granted “trusted” r (rsh/rloging) command access to your system without supplying a password. [...]