Knowledge Base - Page 2

In some OSes, by default it is forbidden for the root user to log in using a password; to change this, you need to edit the configuration file of the SSH daemon through the local console. Namely, check the configuration files in the directory /etc/ssh/sshd_config.d/*.conf and replace PermitRootLogin no with PermitRootLogin yes and PasswordAuthentication no with PasswordAuthentication yes If this directory is emp...

Read more →
30 May, 2026 VPS

How to add a swap file on a VPS

Rating: (24)

Creating the swap file To begin with, before creating a swap file, it is advisable to check the list of mounted partitions and their size. To do this, execute the df -h command. In this example, a swap file will be created in the /var directory with a size of 4GB. Creating a swap file sudo touch /var/.swap.img sudo chmod 600 /var/.swap.img We fill the file with zeros to the desired size. In this example, the swa...

Read more →

Configuring an external firewall can provide an additional layer of security for your virtual machines and environment Go to the VPS management menu Log in to your personal account using your credentials Go to the "Services - My Services" section Select the required VPS and go to its management page Creating firewall rules Select the "Firewall" tab in the left sidebar Click the "+ Add" button to create a new fir...

Read more →