How to Enable cPanel/WHM Root and SSH Login Email Alerts

Secure your server by enable WHM root & SSH login email alerts , its very important security concern for server to protect the server from unknown login attempts. Every time you will notify via email with every login attempts.

We can do this by configuring the CSF so make sure you have CSF installed on the server, you can read the tutorial how to install CSF

Lets start ,
Step-1 : Login to WHM control panel and Go to:

Home >> Plugins >> ConfigServer Security & Firewall

firewall
(more…)

Continue ReadingHow to Enable cPanel/WHM Root and SSH Login Email Alerts

How To Change The Default SSH Port in CentOS

How To Change The Default SSH Port in CentOS, the default SSH port is 22 ,you can change the default SSH port , you can easily do it.you need to make a little change on sshd_config files. The default port number is 22  & now we are going to change it to 1155.
Step 1:  Open the SSH config file.

/etc/ssh/sshd_config

Add a New line with your New port. please see following the picture , I have added a  new line ( Port 1155 )  under the line , #port 22 . you can change port from 22 to any other. I have changed the port 22 to 1155.


#port 22
Port 1155

(more…)

Continue ReadingHow To Change The Default SSH Port in CentOS

How to change cPanel password using SSH

How to change cPanel password using SSH:

1. Login to your server as root via SSH.

2. Execute the following script from the command line.

Replace [username] with the cPanel user name of the domain & [password] with the new password.

/scripts/chpass [username] [password]

If you are facing this error, please use the following command and reset. (more…)

Continue ReadingHow to change cPanel password using SSH