How to run SSH command for Clamscan ? on VPS/Dedicated servers

There are different ways to do that, and that is depend on your clamscan installation directory:

When you have server from the than you can simply run the said command:

clamscan -r –remove /home/yourcpanelusername

In-case that is not working than you can try this location if you have manually done the installation:

/usr/local/cpanel/3rdparty/bin/clamscan -r –remove /home/yourcpanelusername

Rate This Article

(31 out of 85 people found this article helpful)