Notes

Linux

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, 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 · 35 views

How to Verify a File Checksum (SHA-256) on Windows, Mac and Linux
Coding tips

How to Verify a File Checksum (SHA-256) on Windows, Mac and Linux

To verify a file checksum, work out the file's SHA-256 hash with Get-FileHash or certutil on Windows, shasum -a 256 on a Mac or sha256sum on Linux, then compare it with the value the publisher printed. If they differ by even one character, don't open the file.

October 22, 2026 · 11 min read · 56 views

0%