Search Our Database

How to set SSH root login email alerts in a Linux Server

Important Note:  This is meant for POC\Test environments. The recommendation is to research security vulnerabilities with Mailx before installing in hardened production environments. Introduction To improve the security of the server, especially the webserver which exposes to the internet and worldwide hackers, it’s a good way to enable the server to send a notification email

How to SSH into your Cloud server

Introduction In this tutorial, we will guide you through the most important step for accessing your cloud server. Since your hosting plan is unmanaged, the only way to access your server is via SSH (Secure Shell). SSH provides a secure way to manage and interact with your server remotely.   Using Windows Platform To connect

How to generate your SSH Public key

Introduction Secure communication between your local machine and a remote server is crucial, especially when dealing with sensitive data. One of the most widely used methods to establish a secure connection is through SSH (Secure Shell) keys. SSH keys consist of a key pair — a public key and a private key. The private key

How to change DirectAdmin’s admin password via SSH

Introduction This guide explains how to change the admin password in DirectAdmin. It is designed for system administrators or users who already have access to their DirectAdmin control panel and wish to update their admin password. This can be useful for security purposes or to meet updated password policies.   Prerequisites Before proceeding, ensure you

How to enforce SSL for website by editing `.htaccess` via SSH

Introduction This guide explains how to enforce SSL (HTTPS) on your website by editing the .htaccess file via SSH. The .htaccess file is a powerful configuration file used by the Apache web server to control various settings, such as URL redirects, access restrictions, and enabling or disabling certain server features. By leveraging .htaccess in combination

Changing Password in Linux Server by SSH

Introduction This KB article guides you through the process of changing a user’s password on a Linux server using Secure Shell (SSH). SSH provides a secure channel over an unsecured network in a client-server architecture, enabling users to log into another computer over a network, execute commands in a remote machine, and move files from

How to Fix “PCRE is not compiled with PCRE_UTF8 support” Error via SSH- DirectAdmin

Introduction This guide is for system administrators and developers who encounter the error message “PCRE is not compiled with PCRE_UTF8 support” when using DirectAdmin. This issue typically occurs when attempting to use DirectAdmin with applications that require PCRE (Perl Compatible Regular Expressions) support for UTF-8 encoding. This article will walk you through the steps to