News for hackers. Stuff that matters.
Re:Sshole by traceroute66 on Thursday November 05, 2026 @08:11AM (#50378685)
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.

Re:Sshole by znnajdla on Thursday November 05, 2026 @08:16AM (#50378724)
This particular bug works even with password authentication turned off.
Re:Sshole by traceroute66 on Thursday November 05, 2026 @08:19AM (#50378754)
> This particular bug works even with password authentication turned off.

Does it ?

Somebody here has already said "You can set PasswordAuthentication=no or update to remediate"

We don't use musl at $work anyway, so I've no means to test.

Re:Sshole by sjamaan on Thursday November 05, 2026 @08:26AM (#50378804)
Where did you get that idea? The entire bug is about password hashing. With password auth off, that's not even attempted.
Re:Sshole by kijin on Thursday November 05, 2026 @09:07AM (#50379237)
The exploit works for a user account that has no password. This is often confused with turning off password auth, especially in containers that have only one usable account.

It's not just the parent commenter. I'm sure somebody out there is going to remove their account password instead of editing their sshd_config in an attempt to "patch" this vulnerability, actually exacerbating the problem.

Re:Sshole by tialaramex on Thursday November 05, 2026 @08:28AM (#50378820)
Bug > are password logins still on? they are by default

You > This particular bug works even with password authentication turned off.

No. The bug is related to password authentication. If you do not have password authentication then you are not affected.

What freaks some people out is they chose parameters where they do have password authentication but they expect to always fail. That's a bad choice, like OK you did fit a cheap manual keyhole, but you threw the keys away thinking now nobody can open that - you realise somebody with a cheap jiggler can open it right ?

Re:Sshole by znnajdla on Thursday November 05, 2026 @09:27AM (#50379481)
read the article again
Re:Sshole by ghm2180 on Thursday November 05, 2026 @08:20AM (#50378762)
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.
Re:Sshole by Ecco on Thursday November 05, 2026 @08:31AM (#50378857)
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?

Re:Sshole by jadamson on Thursday November 05, 2026 @08:34AM (#50378887)
Keys stay on your device.
Re:Sshole by Borealid on Thursday November 05, 2026 @08:47AM (#50378996)
What people think of as a very strong password often has <100 "security bits" of entropy.

Keys are usually at least 128 bits of entropy, and it's easy to take them up to 256.

Yes, both are a shared secret, but password auth - even with challenge-response - is weaker than key auth exactly because key auth provides more guess resistance.

Re:Sshole by scotty79 on Thursday November 05, 2026 @08:52AM (#50379066)
2^100 is a lot of things to try though
Re:Sshole by jandrese on Thursday November 05, 2026 @08:58AM (#50379123)
Especially if you have Fail2Ban set up.
Re:Sshole by belorn on Thursday November 05, 2026 @09:11AM (#50379279)
Fail2Ban is kind of required unless one like running out of sockets and are unburden by high cpu and disk load.
Re:Sshole by Aachen on Thursday November 05, 2026 @09:42AM (#50379676)
Huh? I run ssh (OpenSSH) on port 22 with root login enabled and no fail2ban on a single-core laptop cpu from fifteen years ago. The load average is 0.00 even with the small mail and web server that runs on it

What cpu and especially what disk load are you talking about? Also not running out of sockets, not sure if that's RAM-dependent (the box has 2GB)

Re:Sshole by belorn on Thursday November 05, 2026 @10:14PM (#50387719)
Working as a sysadmin, and with disk encryption the constant log writes generated from ssh has been enough to cause some heavy load on severs. Long lasting connections from bots also forced is to increase the maximum number of sockets. Fail2ban has mitigated those issues to the point where neither has been an issue.
Re:Sshole by teddyh on Friday November 06, 2026 @04:17AM (#50390032)
I believe this depends on your exposure level. If you have one, or maybe no, domain names pointed at your server, you are probably fine. If you have tens, or hundreds, of domains pointed at your server (i.e. you are a web site hoster), you will probably need something like fail2ban.
Re:Sshole by Aachen on Friday November 06, 2026 @05:58AM (#50390802)
On another server with the same setup, there's various services and websites running, so load average is never zero there (due to scrapers) but ssh has yet to catch my eye in htop. Whenever I've looked, even the amount of cpu that a Windows VM uses constantly while idle is many times higher than what ssh uses
Re:Sshole by jandrese on Thursday November 05, 2026 @12:07PM (#50381586)
There is regular bot traffic attacking SSH, but it's not "saturate your downlink" level of traffic. If you're getting attacked that heavily then you're being specifically targeted.
Re:Sshole by traceroute66 on Thursday November 05, 2026 @09:15AM (#50379316)
> if you have Fail2Ban set up.

Worth noting that if you are running a remotely recent version of SSH it has everything you need built-in. No need for Fail2Ban on SSH these days.

Re:Sshole by Borealid on Friday November 06, 2026 @09:36AM (#50392813)
Could you maybe explain a bit more about how one sets up OpenSSH to block brute-force login attempts with only its built-in features?
Re:Sshole by traceroute66 on Friday November 06, 2026 @02:57PM (#50397535)
> Could you maybe explain a bit more about how one sets up OpenSSH to block brute-force login attempts with only its built-in features?

There are various ways, but you will probably want to start by investigating a combination of :

      - PerSourceMaxStartups
      - PerSourceNetBlockSize
      - PerSourcePenalties
      - Match Invalid-User + RefuseConnection
`PerSourcePenaltyExemptList` is also worth a mention if its the sort of thing you like, we don't use it at $work as whitelisting IP ranges is not really in-line with modern security best-practice (zero trust etc.).
Re:Sshole by Elucalidavah on Thursday November 05, 2026 @08:59AM (#50379141)
But the SSH keys are based on asymmetric crypto, not shared secrets.
Re:Sshole by dagss on Thursday November 05, 2026 @04:29PM (#50384708)
That makes it impossible to steal the key if you MITM, but there is still the same chance of guessing it. (Assuming password has as many bits of pure randomness, such as machine generated password.)
Re:Sshole by traceroute66 on Thursday November 05, 2026 @09:18AM (#50379361)
> What people think of as a very strong password often has <100 "security bits" of entropy.

The best password in the world will still be defeated by a simple keylogger or breach of your password manager.

Re:Sshole by Borealid on Saturday November 07, 2026 @07:49AM (#50404107)
The best cryptographic key in the world would be defeated by a breach of your filesystem.

The comparison here is between in-memory cryptographic keys and in-memory passwords. Yeah typing a password into a keyboard adds a vulnerability in between the keyboard and the computer, but it's not a huge difference in security posture. If the device using the secret is compromised, so is the secret, whether it came from the user's mind or not, whether it was stored encrypted before the user used it or not.

A physically separate hardware security module does add protection but I think that's a different conversation.

Re:Sshole by minitech on Thursday November 05, 2026 @09:00AM (#50379147)
Password gets sent to the server. Private key does not get sent to the server, and authentication protocol can be forwarded safely, enabling things like ssh-agent, FIDO SSH keys. This is solvable with passwords (see: augmented PAKE), but `PasswordAuthentication` isn’t that. But there are also settings where none of this really matters, yes, to be fair if that’s what you’re referring to.

SSH certificates are cool too.

Re:Sshole by TZubiri on Thursday November 05, 2026 @09:24AM (#50379433)
password doesn’t get sent to the server, hash does.

but I guess that the hash is always the same unlike with pub priv key mechanism.

Re:Sshole by traceroute66 on Thursday November 05, 2026 @09:29AM (#50379501)
> password doesn’t get sent to the server, hash does.

Kind of irrelevant.

Password is already easily defeatable before it even leaves your computer, thanks to keyloggers and/or password manager breaches and/or old-school shoulder surfing (assisted by covert filming and AI).

Re:Sshole by mkj on Thursday November 05, 2026 @09:44AM (#50379705)
No, you are wrong. The password gets sent to the server.
Re:Sshole by 8organicbits on Thursday November 05, 2026 @09:06AM (#50379219)
Password reuse is the problem. The password hash is stolen from some other site and brute forced offline.
Re:Sshole by dwedge on Thursday November 05, 2026 @09:08AM (#50379244)
Same issue with key reuse. Unless you have a policy to rotate them and verify which host they login from, someone's unencrypted hard drive from 5 years ago is more likely to have a key than password.
Re:Sshole by traceroute66 on Thursday November 05, 2026 @09:35AM (#50379595)
> someone's unencrypted hard drive from 5 years ago is more likely to have a key than password.

Even 5+ years ago, hardware-backed SSH keys were a thing (Yubikey). The only difference today is that its 100% easier to do keys properly because of the widespread commoditisation of secure enclaves in desktops and smartphones to support FIDO, its basically free of charge now because you're not obliged to buy a Yubikey.

Re:Sshole by ant0ni on Thursday November 05, 2026 @09:37AM (#50379615)
you claimed my favorite game's character name!
Re:Sshole by epihelix on Thursday November 05, 2026 @10:58PM (#50387988)
> How is password auth weaker than key auth?

Well, it's a heck of a lot weaker in this instance (at least when `PasswordAuthentication no`)

Re:Sshole by ahepp on Friday November 06, 2026 @05:39PM (#50399461)
In this specific instance yes, but it seems like it could have about as easily been a perfect cascade of failures in janky libc routines for checking keys as opposed to janky libc routines checking passwords.
Re:Sshole by kccqzy on Thursday November 05, 2026 @08:59AM (#50379142)
[delayed]
Re:Sshole by traceroute66 on Thursday November 05, 2026 @09:07AM (#50379236)
> No need to be so absolutist.

Why not ?

Even if you don't want to go all the way to SSH certificates, SSH public-key authentication is laughably easy to do.

I also don't buy the argument "but its on a ULA address". Attacker's old favourite these days is finding a way in (North–South) and then using that as a stepping stone (East–West). Also the general concept of "lower security is OK because its on the LAN" is so 1997.

Re:Sshole by kccqzy on Thursday November 05, 2026 @09:15AM (#50379321)
Yeah because if attackers are already finding a way in, they can easily read my ~/.ssh/id_ed25519. A password is strictly better, although not by much because lateral movement is very easy. The only exception is if the private key is actually on a HSM, which is the case for all my SSH private keys on iOS.
Re:Sshole by traceroute66 on Thursday November 05, 2026 @09:22AM (#50379411)
> read my ~/.ssh/id_ed25519.

No excuse for doing that these days.

You can use a Yubikey or you can use your computer's secure enclave or TPM with FIDO at no extra cost.

A password is never, ever "strictly better". Seriously, you're just making shit up now.

Re:Sshole by kccqzy on Thursday November 05, 2026 @11:48AM (#50381360)
[delayed]
Re:Sshole by cozzyd on Thursday November 05, 2026 @03:26PM (#50384029)
or password protect your key, at least.
Re:Sshole by dwedge on Thursday November 05, 2026 @09:07AM (#50379231)
> 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.

Re:Sshole by traceroute66 on Thursday November 05, 2026 @09:10AM (#50379267)
> Did any of those bots brute force a password?

The point is they found the security by obscurity so-called "hidden" port in less than a couple of hours.

At that point, what they did is irrelevant. The point is that security by obscurity does not work in 2026.

> Because a 20 character random password is comparable in brute force complexity to an SSH key.

You can't be serious with your comment.

No its not.

And even then, SSH key is asymmetric, you're not sending the private key to the server. But with a password you are, which leaves you vulnerable to many attack vectors that simply do not exist with keys.

Re:Sshole by TZubiri on Thursday November 05, 2026 @09:22AM (#50379412)
> The point is that security by obscurity does not work in 2026.

I feel the opposite, note how most all AI vulns discovered use source code level analysis, empirically keeping source code hidden is more secure.

kerchoff’s principle is misconstrued by a voyeuristic internet that wants to see source code

Re:Sshole by Ardon on Thursday November 05, 2026 @09:49AM (#50379776)
This is a sampling error - we're only hearing about the public disclosures.

(almost) No company actually has secret source code, only source code not publicly viewable. And the LLMs crawling those don't belong to people who make public disclosures.

Re:Sshole by ShinyLeftPad on Thursday November 05, 2026 @08:05PM (#50386871)
> LLMs crawling those don't belong to people who make public disclosures

Using LLMs is a great way to empower the governments behind them (US and PRC) to cultivate a garden of undisclosed bugs in your closed commercial codebases.

Re:Sshole by minitech on Thursday November 05, 2026 @09:30AM (#50379523)
Other points are fine, but why do you say a 20-character random password isn’t comparable in brute force complexity to an SSH key?
Re:Sshole by Aachen on Thursday November 05, 2026 @09:32AM (#50379550)
> > Because a 20 character random password is comparable in brute force complexity to an SSH key.

> You can't be serious with your comment. \n\n No its not.

If you differ in opinion, maybe provide evidence? Especially for a claim like long randomly generated value 1 being weak as compared to long randomly generated value 2

If you mean it's log(62^20,2)≈119 bits of entropy instead of 128+ and so it's theoretically weaker when we build a Dyson sphere around the sun to brute force that key (after somehow obtaining the shadow file, since an online attack would be way too slow), then sure

Re:Sshole by unglaublich on Thursday November 05, 2026 @10:00AM (#50379926)
I mean there are 65k possible ports so it's the equivalent of guessing an 16 bit password, i.e. two (extended) ascii characters. It's not very surprising that 'multiple bots' found it: a single `nmap` command will give you the open ports in a few seconds.
Re:Sshole by cozzyd on Thursday November 05, 2026 @03:23PM (#50383983)
Running on that port would be perfectly safe as it's outside the range of valid port numbers.
Re:Sshole by tarxvf on Friday November 06, 2026 @10:04AM (#50393199)
N=2 but non-22 ssh ports get almost zero traffic for me at home and at work. Not zero - but very nearly zero. shrug.