Logo

Blogs

How to Secure SSH by Changing the Port and Password on CentOS 8, AlmaLinux 8/9, Rocky 8, and Ubuntu 22.04

SSH (Secure Shell) is a vital service for managing remote servers, but the default settings can make your system vulnerable to brute force attacks. This guide explains how to change the SSH port and secure it with a strong password on CentOS 8, AlmaLinux 8/9, Rocky Linux 8, and Ubuntu 22.04. Step 1: Prerequisites   install putty https://www.putty.org/ Root access to the server or a user with sudo privileges. Backup your current SSH configuration:   sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak Step 2: Change SSH Port Edit the SSH configuration fil...
Read More