How to clear the Magento cache without login using ssh? login via ssh then use following command to remove cache and session folder contents. done !