Deprecated: Optional parameter $shortcode declared before required parameter $args is implicitly treated as a required parameter in /home/ashishka/public_html/wp-content/plugins/wp-cirrus/wp-cirrus.php on line 331

Warning: Cannot modify header information - headers already sent by (output started at /home/ashishka/public_html/wp-content/plugins/wp-cirrus/wp-cirrus.php:331) in /home/ashishka/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Meta/Robots.php on line 89

Warning: Cannot modify header information - headers already sent by (output started at /home/ashishka/public_html/wp-content/plugins/wp-cirrus/wp-cirrus.php:331) in /home/ashishka/public_html/wp-includes/feed-rss2.php on line 8
SSH | Web Hosting Stuff https://www.ashishkale.in Get solutions under one roof Fri, 26 Sep 2025 09:09:17 +0000 en-US hourly 1 How do you check the version of cPanel/WHM? https://www.ashishkale.in/how-do-you-check-the-version-of-cpanel-whm/ https://www.ashishkale.in/how-do-you-check-the-version-of-cpanel-whm/#respond Thu, 15 Aug 2024 12:14:38 +0000 https://www.ashishkale.in/?p=1455 It is a famous tool used for managing web hosting. An easy-to-use interface that allows for the easy management of websites and services. Understanding the cPanel version is mandatory for the users as it affects the functions and features. Just make sure that your cPanel/WHM software is updated; keeping the server safe and working is crucial. Here, in this document, [...]

The post How do you check the version of cPanel/WHM? first appeared on Web Hosting Stuff.

]]>
It is a famous tool used for managing web hosting. An easy-to-use interface that allows for the easy management of websites and services. Understanding the cPanel version is mandatory for the users as it affects the functions and features.

Just make sure that your cPanel/WHM software is updated; keeping the server safe and working is crucial. Here, in this document, you will see in-depth knowledge on checking the cPanel version using multiple methods to stay informed about hosting setup.

Method 1: Checking cPanel Version Through the WHM Command Line

Log in to WHM: Access your WHM interface using the root username and password.

Navigate to Terminal: Go to Server Configuration -> Terminal.

Execute the Command:

In the terminal window, use this command and type Enter:

/usr/local/cpanel/cpanel -V

This command will output the cPanel version to the terminal.

Example Output:

11.98.0 (build 12)

Explanation:

  • The command /usr/local/cpanel/cpanel -V is the same as running it directly on the server’s command line.
  • This method provides a quick and efficient way to check the cPanel version without leaving the WHM interface.

Method 2: Checking cPanel Version Through WHM Dashboard

Steps:

  1. Log in to your WHM account.
  2. The cPanel/WHM version is typically displayed at the top of the WHM dashboard.

Method 3: Examine the cPanel Version Through the WHM Version File

Login to WHM: Access your WHM interface using your root credentials.

Navigate to Terminal: Go to Server Configuration -> Terminal.

Write the Command > terminal window > write the following command and give Enter

cat /usr/local/cpanel/version

View the Version: The output will display the cPanel version number.

Method 4: Checking the cPanel Version from the cPanel Dashboard

This is the simplest method to check your cPanel version

Steps:

  1. Log in to your cPanel account.
  2. Locate the “Server Information” section: This is usually found on the right side of the dashboard. It might be in a sidebar or a separate panel.
  3. Click on “Server Information”.
  4. Look for the “cPanel Version” information: This will be listed along with other server details.

Method 5: Checking cPanel Version Through SSH

Establish an SSH connection: Use an SSH client like PuTTY or the built-in terminal on macOS/Linux to connect to your server as root.

Execute the command: Once connected, type the following command and press Enter:

Conclusion

Frequently checking and updating your cPanel/WHM installation confirms excellent features, improvement, and security patches. Retain the server running smoothly by updating yourself about the cPanel/WHM version.

The post How do you check the version of cPanel/WHM? first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-do-you-check-the-version-of-cpanel-whm/feed/ 0
How to configure SSH keys using cPanel https://www.ashishkale.in/how-to-configure-ssh-keys-using-cpanel/ https://www.ashishkale.in/how-to-configure-ssh-keys-using-cpanel/#respond Fri, 19 Apr 2024 11:10:22 +0000 http://www.ashishkale.in/?p=1340 Configuring SSH keys using cPanel involves generating a key pair on the server and adding the public key to your server’s authorized keys file. Here’s a breakdown of the steps: Generating a Key Pair on cPanel: Adding the Public Key to Authorized Keys: Downloading the Private Key (for SSH client): Tips: For a more detailed walkthrough, you can refer to [...]

The post How to configure SSH keys using cPanel first appeared on Web Hosting Stuff.

]]>
Configuring SSH keys using cPanel involves generating a key pair on the server and adding the public key to your server’s authorized keys file. Here’s a breakdown of the steps:

Generating a Key Pair on cPanel:

  1. Log in to cPanel.
  2. Navigate to the Security section and find the SSH Access tool.
  3. Click on Manage SSH Keys.
  4. Click on Generate a New Key.
  5. You can choose a name for the key pair or leave the default “id_rsa”.
  6. Optionally, set a strong password for the key and click Generate Key.

Adding the Public Key to Authorized Keys:

  1. In the Manage SSH Keys section, you need to scroll down to the Authorized Keys area.
  2. Next, you have to click on Manage next to the key you just generated.
  3. A box with the public key will be displayed. You can copy the entire contents of the box.
  4. Here you’ll need to access your server through another method (like root access or a current SSH connection) and add the copied public key to the authorized_keys file located in the .ssh directory of your home directory.

Downloading the Private Key (for SSH client):

  1. Go back to the Manage SSH Keys section in cPanel.
  2. Find the key you have created under Private Keys.
  3. Click View/Download next to the key.
  4. You’ll see the option to convert the key to PPK format (if using PuTTY). Then, you have to choose the conversion if needed.
  5. Click on Download Key and save the private key securely on your local machine. This private key will be used for SSH login with your client program.

Tips:

  • Make sure to keep your private key confidential and avoid sharing it with anyone.
  • Consult your SSH client’s documentation for specific instructions on using the private key for login.

For a more detailed walkthrough, you can refer to resources like the cPanel documentation or tutorials from web hosting providers.

The post How to configure SSH keys using cPanel first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-configure-ssh-keys-using-cpanel/feed/ 0
How To Reset A Kloxo Or LxAdmin Password From SSH https://www.ashishkale.in/how-to-reset-a-kloxo-or-lxadmin-password-from-ssh/ https://www.ashishkale.in/how-to-reset-a-kloxo-or-lxadmin-password-from-ssh/#respond Sat, 05 Sep 2015 06:44:33 +0000 http://www.ashishkale.in/?p=714 How to Reset A Kloxo Or LxAdmin Password From SSH Kloxo is an another useful free control panel for web hosting management. When your VPS is installed by us with lxadmin the password will be the same as what you asked for on setup. If not try “admin” Note: if you reinstall yourself it will also be “admin” If you [...]

The post How To Reset A Kloxo Or LxAdmin Password From SSH first appeared on Web Hosting Stuff.

]]>
How to Reset A Kloxo Or LxAdmin Password From SSH

Kloxo is an another useful free control panel for web hosting management.

When your VPS is installed by us with lxadmin the password will be the same as what you asked for on setup.

If not try “admin”

Note: if you reinstall yourself it will also be “admin”

If you still can’t login:

Step 1 : Login via SSH server as root.

Step 2 : Execute the script.

cd /usr/local/lxlabs/kloxo/httpdocs

or

cd /usr/local/lxlabs/lxadmin/httpdocs

Step 3 : Restart Kloxo.

/usr/bin/lphp.exe ../bin/common/resetpassword.php master

Step 4 : Now try your password again.

If you still can’t get it to work, create a support ticket at Hostripples client area.

Reset a Kloxo password_ashishkale.in

That’s it!!

 

 

The post How To Reset A Kloxo Or LxAdmin Password From SSH first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-reset-a-kloxo-or-lxadmin-password-from-ssh/feed/ 0
How to Reboot your cpanel/whm in ssh https://www.ashishkale.in/how-to-reboot-your-cpanelwhm-in-ssh/ https://www.ashishkale.in/how-to-reboot-your-cpanelwhm-in-ssh/#respond Wed, 02 Sep 2015 06:40:25 +0000 http://www.ashishkale.in/?p=679   How to Reboot your cpanel/whm in ssh If you happen to mess up your ssh configuration some how you can reset the ssh config from Cpanel then restart your machine via ssh by using following command /etc/init.d/cpanel restart   Enjoy!!!                                       [...]

The post How to Reboot your cpanel/whm in ssh first appeared on Web Hosting Stuff.

]]>
 

Reboot your cpanel

How to Reboot your cpanel/whm in ssh

If you happen to mess up your ssh configuration some how you can reset the ssh config from Cpanel then restart your machine via ssh by using following command

/etc/init.d/cpanel restart

 

Enjoy!!!

 

                                                                          Or

 

 

If you cannot reboot your server manually, you can restart it by requesting a power cycle.

1) Log in to your Account Manager.

2) Click Servers.

3) Next to the server you want to use, click Manage.

4) Click Power.

5) Click Restart.

 

 

The post How to Reboot your cpanel/whm in ssh first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-reboot-your-cpanelwhm-in-ssh/feed/ 0
Simple way to protect SSH against or not protect against https://www.ashishkale.in/simple-way-to-protect-ssh-against-or-not-protect-against/ https://www.ashishkale.in/simple-way-to-protect-ssh-against-or-not-protect-against/#respond Fri, 17 Jul 2015 11:48:16 +0000 http://www.ashishkale.in/?p=370 SSH will protect against Seven important steps to Secure Shell protects against (again, from the README) Step 1) Eavesdropping of data transmitted over the network. Step 2) Manipulation of data at intermediate elements in the hosts. Step 3) IP address spoofing where an attack hosts pretends to be a trusted host by sending packets with the source address of the trusted [...]

The post Simple way to protect SSH against or not protect against first appeared on Web Hosting Stuff.

]]>
Protect SSh

SSH will protect against

Seven important steps to Secure Shell protects against (again, from the README)

Step 1) Eavesdropping of data transmitted over the network.

Step 2) Manipulation of data at intermediate elements in the hosts.

Step 3) IP address spoofing where an attack hosts pretends to be a trusted host by sending packets with the source address of the trusted host. Ssh even protects against a spoofer on the local network, who can pretend he is your router to the outside.

Step 4) DNS spoofing of trusted host names/IP addresses, where an attacker forges name server records

Step 5) IP source routing, where a host can pretend that an IP packet comes from another, trusted host.

Step 6) Interception of cleartext passwords and other data by intermediate hosts.

Step 7) Attacks based on listening to X authentication data and spoofed connection to the X11 server

 

SSH will not protect against

Secure Shell will not help you with anything that compromises your host’s security in some other way. Once an attacker has gained root access to a machine, he can then subvert ssh, too.

Step 1) Incorrect configuration or usages.

Step 2) A compromised root accounts.

Step 3) Insecure home directories: if an attacker can modify files in your home directory (e.g. via NFS) he may be able to fool SSH

 

 

The post Simple way to protect SSH against or not protect against first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/simple-way-to-protect-ssh-against-or-not-protect-against/feed/ 0
SSH Connection Sequence https://www.ashishkale.in/ssh-connection-sequence/ https://www.ashishkale.in/ssh-connection-sequence/#respond Tue, 14 Jul 2015 13:40:49 +0000 http://www.ashishkale.in/?p=363   The following series of events help protect the integrity of SSH communication. SSH Connection Sequence 1) A cryptographic handshake is made with the server 2) The connection between client and remote server is encrypted using symmetric cipher 3) Client authenticates itself 4) Client can now interact safely with remote server over encrypted connection    

The post SSH Connection Sequence first appeared on Web Hosting Stuff.

]]>
 

ssh

The following series of events help protect the integrity of SSH communication.

SSH Connection Sequence

1) A cryptographic handshake is made with the server

2) The connection between client and remote server is encrypted using symmetric cipher

3) Client authenticates itself

4) Client can now interact safely with remote server over encrypted connection

 

 

The post SSH Connection Sequence first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/ssh-connection-sequence/feed/ 0
How to Installation Linux Malware Detect (Maldet) On Linux https://www.ashishkale.in/how-to-installation-linux-malware-detect-maldet-on-linux/ https://www.ashishkale.in/how-to-installation-linux-malware-detect-maldet-on-linux/#respond Thu, 09 Jul 2015 13:30:12 +0000 http://www.ashishkale.in/?p=312 Linux Malware Detect (Maldet) : Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license, that is designed around the threats faced in shared hosted environments. It uses threat data from network edge intrusion detection systems to extract malware that is actively being used in attacks and generates signatures for detection. Follow the steps [...]

The post How to Installation Linux Malware Detect (Maldet) On Linux first appeared on Web Hosting Stuff.

]]>
Linux Malware Detect (Maldet) :

Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license, that is designed around the threats faced in shared hosted environments. It uses threat data from network edge intrusion detection systems to extract malware that is actively being used in attacks and generates signatures for detection.

Follow the steps below to install maldet on your server.

A) Install maldet on your server

1) SSH to your server
2) Download the tar file and install it.

cd /usr/local/src/ && wget http://www.rfxn.com/downloads/maldetect-current.tar.gz && tar -xzvf maldetect-current.tar.gz && cd maldetect-* && sh install.sh

This will automatically install a cronjob inside /etc/cron.daily/maldet so a daily scan will be run for local cPanel or Plesk accounts.

B) Update to the latest version and virus signatures:

maldet -d && maldet -u

C) Run the first scan manually

Launch a background scan for all user’s public_html and public_ftp in all home directories, run the following command:

maldet -b –scan-all /home?/?/public_?

D) Verify the scan report

1) List all scan reports time and SCANID:

maldet –report list

2) Show a specific report details :

maldet –report SCANID

3) Show all scan details from log file:

grep “{scan}” /usr/local/maldetect/event_log

E) Clean the malicious files

The quarantine is disabled. You will have to launch it manually.

maldet -q SCANID

The post How to Installation Linux Malware Detect (Maldet) On Linux first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-installation-linux-malware-detect-maldet-on-linux/feed/ 0