The post How do you check the version of cPanel/WHM? first appeared on Web Hosting Stuff.
]]>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.
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:
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.
This is the simplest method to check your cPanel version
Steps:
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:
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.
]]>The post How to configure SSH keys using cPanel first appeared on Web Hosting Stuff.
]]>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.
]]>The post How To Reset A Kloxo Or LxAdmin Password From SSH first appeared on Web Hosting Stuff.
]]>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.
That’s it!!
The post How To Reset A Kloxo Or LxAdmin Password From SSH first appeared on Web Hosting Stuff.
]]>The post How to Reboot your cpanel/whm in ssh first appeared on Web Hosting Stuff.
]]>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.
]]>The post Simple way to protect SSH against or not protect against first appeared on Web Hosting Stuff.
]]>
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.
]]>The post SSH Connection Sequence first appeared on Web Hosting Stuff.
]]>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.
]]>The post How to Installation Linux Malware Detect (Maldet) On Linux first appeared on Web Hosting Stuff.
]]>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.
]]>