Create an SSH Key and Secure Access to Your Server

Why use an SSH key? When connecting to a Linux server, we often use SSH (Secure Shell). By default, SSH allows login with a password — but this is not secure. The best practice is to use an SSH key, a kind of digital password that is much harder to guess or break. 1. Generate an SSH key pair On your local computer, open a terminal and run: ssh-keygen -t rsa -b 4096 -C "your.email@example.com" Explanation: ...

June 30, 2025 · 2 min

5 Basic Concepts to Secure Your Linux Server Right After Installation

Goal of this article: You’ve just installed a Linux server for the first time (on a VPS or physical machine) and don’t know where to start to secure it? This guide is for you. I’ll walk you through 5 essential steps to protect your server right after installation. 🛑 1. Create a non-root user with sudo On Linux, the root user has full control over the system. But logging in directly as root is dangerous: a single typo can break your system, and it’s also a top target for attackers. ...

June 29, 2025 · 3 min