Server Administration & Management

In recent few months FTP brute force attacks increased on most the cPanel servers. To avoid such attacks, we can simple default FTP account or change FTP port. If you are shared server then client won’t be happy after disabling default FTP which is cPanel login details. There for simply change the FTP port number by using following steps.

1. Log in to server as root user and open default FTP configuration file.

# vi /etc/pure-ftpd.conf

Search for following line and change it

From
#Bind 127.0.0.1,21

ToBind 0.0.0.0,121

Note: It means all ip will connect to FTP service on port 121 but make sure that you have opened a port 121 in server firewall and restart the FTP service.

In a cPanel server, you may find logs are often stored differently comapring a control panel less server. Even Plesk saves logs in different paths. Here is a list of services and their log path that may help you finding the logs.