Question How to disable Plesk Control Panel through SSH?

xgenesis

Basic Pleskian
I want to disable Plesk control panel for security reasons but still have it accessible on a need-only basis. Are there any quick terminal commands that can be used to disable and re-enable Plesk Control Panel?
 
I was able to disable it using iptables

Code:
iptables -I INPUT -p tcp --match multiport --dport 8880,8443 -j DROP

Was wondering if there is a faster solution?
 
Just stop/start sw-cp-server service. All hosting will work, but Plesk panel will be stopped.
 
Back
Top