How to Restart cPanel Service on a Server via SSH?

SSH stands for Secure Shell. It is a protocol used for establishing secure connections to remote servers or systems. It ensures data confidentiality by encrypting the transmitted information between the host and the client. SSH handles the transmission of user inputs from the client to the host and sends back the corresponding output. The SSH protocol operates on TCP/IP port 22.

It allows you to manage system configurations and execute essential operations. It also enables you to restart or reboot the cPanel service on your server. Whenever you make changes to basic settings or encounter issues with the service, it is necessary to restart the server services.

Below are the steps to restart the cPanel service on a Server via SSH.

Step 1: Log into your server through SSH.

Step 2: Run the following command in the terminal.

# /scripts/restartsrv_cpsrvd

Step 3: After a successful restart, you will receive a confirmation message on the screen saying, "cpsrvd restarted successfully."

That's all.

Was this answer helpful?

« Back