// notes/

SSH

Coding tips and build notes by Mahir Faysal, a student web developer in Bangladesh: tested Python, HTML, CSS, JavaScript and PHP tutorials, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

How to Secure an SSH Server: 12 Steps to Harden sshd on Linux
Coding tips

How to Secure an SSH Server: 12 Steps to Harden sshd on Linux

To secure an SSH server, switch to SSH key authentication, disable password and root logins in /etc/ssh/sshd_config, limit which users can log in, firewall port 22 to trusted addresses where possible, add fail2ban, and keep OpenSSH updated.

October 23, 2026 · 10 min read · 6 views

// filter

You are inside a slice of the notes.

This view is only the category, tag, or search you asked for. Sample warnings still apply on any article that carries them. Drafts are still hidden. The full list is the learning notes page, which also explains how a note is written and why some posts are marked Sample.