logoalt Hacker News

traceroute66 • today at 1:11 PM • 5 replies • view on HN

To be fair, I have less than zero sympathy for anyone who runs SSH on any platform without `PasswordAuthentication=no` in 2026.

Its not asking for trouble, it is there will be trouble, not if but when.

As for the people who say "well, I run SSH on port 942329053052". Well guess what, the bots make short work on that. We tried it at $work as an experiment, multiple bots found it in less than a couple of hours. That's why your SSH config must be hardened, preferably running on a hardened OS too.


Replies

Ecco • today at 1:31 PM

How is password auth weaker than key auth? Bugs in auth code can happen in both pathways. And apart from stupidly short passwords both should be equally impossible to brute-force.

In other words, conceptually, at the end if the day, isn’t a key just another name for a password, really?

➕ show 5 replies
dwedge • today at 2:07 PM

> Its not asking for trouble, it is there will be trouble, not if but when.

Did any of those bots brute force a password? Because a 20 character random password is comparable in brute force complexity to an SSH key. The experiment you ran was just as valid for SSH keys on that port, and had no bearing on password vs key.

➕ show 1 reply
znnajdla • today at 1:16 PM

This particular bug works even with password authentication turned off.

➕ show 3 replies
kccqzy • today at 1:59 PM

I run SSH with password authentication on but the port binds to a ULA address. It’s fine. No need to be so absolutist.

➕ show 1 reply
ghm2180 • today at 1:20 PM

100% and with local tool calls many AI systems will do ssh "for you" and end run around any security theatre that you may have going on with LLMs.