
Video unavailable
This video can't be played right now.
Why I don't change SSH from port 22
To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/DreamsofCode . You’ll also get 20% off an annual premium subscription. This video was sponsored by Brilliant. If you're running a server with SSH on it, then hardening ssh is an important step to improving your system security. One approach to hardening SSH that many users perform is to change ssh off of the standard port of 22 onto something else. In my case however, I tend not to do this, as I feel it's security through obscurity and ineffective. Not only does it not work, but, it can also cause other issues... Become a better developer in 4 minutes: https://bit.ly/45C7a29 👈 Join this channel to get access to perks: https://www.youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join Join Discord: https://discord.com/invite/eMjRTvscyt Join Twitter: https://twitter.com/dreamsofcode_io Video Links: - Okta STO: https://www.okta.com/identity-101/security-through-obscurity/ - Privileged ports: https://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html - Elastic Rule: https://www.elastic.co/guide/en/security/current/potential-non-standard-port-ssh-connection.html - Fail2ban: https://github.com/fail2ban/fail2ban - DIgital Ocean Harden SSH: https://www.digitalocean.com/community/tutorials/how-to-harden-openssh-on-ubuntu-20-04 - Shodan: https://www.shodan.io/ - GreyNoise SSH Bruteforcer: https://viz.greynoise.io/tags/ssh-bruteforcer-attempt?days=30 00:00:00 - Intro 00:00:54 - Sponsor 00:02:17 - Security through obscurity 00:03:42 - It's only a matter of time 00:05:30 - Not all ports are the same 00:07:56 - Complexity is the enemy of security 00:08:25 - Obscurity as an indentifier 00:09:05 - Port Privilege 00:09:43 - More security issues 00:10:58 - Why I don't change the ssh port 00:11:27 - Other approaches to reduce log spam
Suggested videos

Why I'm no longer using Docker (on a VPS)
Dreams of Code · 16:54

How to Change SSH Port in Linux | Fix SSH Connection Error (Step by Step 2025)
Tech Talk · 4:58

Writing code by hand is now an advantage
Dreams of Code · 17:40

How to Change Your SSH Port and Secure Your Home Server (Stop Using Port 22!) #homelab #ssh #linux
JDS Designs · 6:41

Turning the worst key on a keyboard into the most useful one
Dreams of Code · 10:00

How to Change the Default SSH Port on Ubuntu 22.04 (Secure Your Server!)
IT Matters · 1:45

The weirdest programming language I ever learned
Dreams of Code · 24:15

How to change default ssh port 22 in Redhat9
Devopskill · 3:24

Why I'm so bullish about Rust in 2026
Dreams of Code · 19:49

Change The Default SSH Port 22 To Something Different On A Raspberry Pi
Fuzz The Pi Guy · 1:44

The 5 Dreams Gnostic Texts Said Sophia Sends Her Chosen
Omnisent · 28:18

Stop Using Default SSH Port on Linux
RackNerd · 2:47