Linux command to copy files over ssh

Command Name : scp scp stands for secure cp (copy), which means that you can copy files across an ssh connection that will be encrypted, and therefore secured. You can this way copy files from or to a remote server, you can even copy files from one remote server to another remote server, without passing through your PC. Usage

How to identify a DDOS attack or finding no of connection from an IPAddress

In Linux Web servers, You definitely server 100’s of websites. Some site may be flooded with connections. or your server may be under DDOS attack. In this situation you can use the below command netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -nr And find the IPAddress, which is having more …

Error while creating mysql db in cpanel

When you create a new mysql db from the cpanel. You will be thrown the error ” Database already Taken” Which Means, DBD::MySQL Perl module needs to be reinstalled To resolve the issues, Use the below command from VPS/servers SSH prompt /scripts/mysqlup –force Make sure you disable the auto update More Important : Keep atleast 512MB RAM to run this …