Skip to content

Menu
  • Home
  • Linux Hosting
  • WordPress
  • PHP
  • cPanel
  • Digital Marketing
  • Linux Reseller Hosting
  • VPS
  • Dedicated Server
  • Tutorials
  • Website Development
  • Client Area
April 27, 2022
HomeLinux CommandsSuspend or Unsuspend cPanel Accounts via SSH and WHM

Suspend or Unsuspend cPanel Accounts via SSH and WHM

By Faisal K Linux Commands, Root, SSH  0 Comments

What is SSH?

SSH, also known as Secure Socket Shell, is a network protocol that allows two computers to communicate over a secure network and share data. SSH is one of the safest ways to transfer data from the remote server to a local computer. It’s majorly used by the system administrators. SSH uses the Public Key Cryptography function to authenticate the remote computer which makes it more secure.

Suspend/Unsuspend cPanel Accounts via SSH

You can easily suspend/unsuspend any cPanel account via SSH by following the below steps:

  • First of all, log into the SSH account by using valid credentials. You can use any SSH-client software such as PuTTY to log into SSH.
Log into SSH
Log in to SSH

Note: To perform this task, you must have root access to your server. This task cannot be done without root privileges.

  • Once you have logged into your SSH account, type the below command to Suspend a particular cPanel user account.
# /scripts/suspendacct username "Reason"
  • You can use the below image as an example.
Suspend cPanel Account from SSH
Suspend cPanel Account from SSH
  • I just suspended a cPanel account by typing several words. Don’t you think it’s the easiest method to suspend or ban any cPanel account? Yes, it is.
  • Likewise, you can Unsuspend any cPanel account easily. The command we’ll use to unsuspend a cPanel account is almost similar to the command we used earlier to suspend a cPanel account. Follow the below command to unsuspend or unban any cPanel account.
# /scripts/unsuspendacct username
  • Again, view the below image as an example.
Unsuspend a cPanel account via SSH
Unsuspend a cPanel account via SSH

Suspend/Unsuspend cPanel Accounts from WHM

Other than suspending or suspending cPanel accounts from SSH, you can also do the same from your Web Host Manager (WHM). The only benefit you will get if you perform this task from WHM is its interface. It’s easy to suspend or unsuspend any cPanel account from WHM. Even a beginner can do it easily after reading this article. Follow the below steps to Suspend/Unsuspend cPanel Accounts from WHM.

  • First of all, log into the WHM control panel.
  • From your WHM dashboard, type List account in the search bar located in the top left corner of the page, or you can simply navigate to the Account Information > List Account.
List Account in WHM
List Account in WHM
  • There you’ll find all the domains hosted on your server along with their usernames and other details.
  • Find the domain you want to suspend and hit the + icon.
Click on + Icon
Click on + Icon
  • Once you click on the + icon, several options will expand, Hit the Suspend button, and you’re done.
Suspend a cPanel account
Suspend a cPanel account
  • You’ve successfully suspended a cPanel account from WHM. Repeat the same step to spend other cPanel accounts.
  • To unsuspend a cPanel account or to view the list of all suspended cPanel accounts, type list in the search bar and hit the List Suspended Accounts button.
Unsuspend a cPanel account from WHM
Unsuspend a cPanel account from WHM

That’s It.

This is how you can easily suspend or unsuspend a cPanel account using the above methods.

PRO TIP: For Shared Hosting users, it’s important to purchase an SSH-enabled Shared Hosting plan. If you’re a shared hosting user and purchased a plan in which SSH isn’t included, you’ll not be able to log into your SSH.

Shared Hosting users can also use SSH at a user level.

I hope this article helps you. If not, you can contact us on Facebook and Twitter and message us your queries. We’ll be happy to assist you. You can also hit the comment section to ask anything you don’t understand in this tutorial.

Tags:ban cPanel account, ban cpanel via ssh, how to, linux commands, putty, root access, Secure Socket Layer, ssh client, Suspend cPanel Account, suspend cpanel via ssh, unban cpanel account, unban cpanel via ssh, unsuspend cpanel account, unsuspend cpanel via ssh command, What is SSH? Public Key Cryptography

Related Posts

How to Allow CSF Privilege to a Reseller Through WHM?

HOW TO SOLVE INCORRECT TIMEZONE ISSUE IN WHM ROOT? [STEP BY STEP]☑️

SSH BASIC COMMANDS| CLEAR /TMP

What is SSH Access? How to use PuTTy [Basics] EXPLAINED

Search

Our Recent Posts

  • 3 Ways to Change your cPanel Password
  • Identify and Prevent Disk Space Abuse Cases in Server
  • Basic Linux Commands For Beginners | With Example
  • CWP vs cPanel | Why Control Web Panel?
  • How to Enable/Disable Two Factor Authentication in cPanel

Categories

Search

Red Server Host Copyright © 2022.
Powered by Skillvent Technologies Pvt. Ltd. . Back to Top ↑