Remix.run Logo
OpenSSH 10.5/10.5p1(openssh.org)
79 points by voxadam 5 hours ago | 28 comments
alpn 4 hours ago | parent | next [-]

"[..] a security bug identified by AI tools is subsequently independently discovered by a different researcher. This suggests that adversaries who do not report bugs to OSS projects are likely to be able to discover these bugs too. Given this, the OpenSSH team will, for now, be making more frequent releases to get bugfixes into users' hands more quickly rather than batching them until the next planned release."

yjftsjthsd-h 4 hours ago | parent | prev | next [-]

> ssh(1): add a "ssh -Z user@host" mode that prints the keys that will be tried for public key authentication in the order that they will be used.

Oh, that's a nice new feature:)

ghshephard 2 hours ago | parent | next [-]

I don't think there has been a single month in the last 5 years that I haven't had to figure out which public-key was used to authenticate me to a host via `ssh -vv` - often to let someone else who is failing to connect know which key to use.

The `-Z` is less useful - as I almost always know exactly which and what order the public keys are - as most of our sshd instances fail after 5 attempts - so making sure either (A) the correct ones or used or (clumsily, B) - just putting the correct one in the first five to try.

Would be a nice feature to echo which key successfully worked.

ahartmetz 2 hours ago | parent | prev [-]

Yeah, I've occasionally had to divine from verbose debug output that the remote host didn't like more than three or so public key attempts before requiring another auth type.

qudat an hour ago | parent | prev | next [-]

Darn, still no host headers so we can reverse proxy on a single ip

throw0101a 40 minutes ago | parent [-]

> Darn, still no host headers so we can reverse proxy on a single ip

How would this be done? After the "SSH-2.0" banner, the first packet is SSH_MSG_KEXINIT and there's no space in that for a "Host" header:

* https://datatracker.ietf.org/doc/html/rfc4253#section-7.1

4L3XV33 4 hours ago | parent | prev | next [-]

Glad they're not letting potential high false positive rate preclude discovery of true positives. Better to get a lot of noise with a little bit of signal, if the alternative was not get that signal at all.

3asj176 4 hours ago | parent | prev | next [-]

No, AI assistance is NOT welcome in general. They mention security bug reports, so using AI like ASAN etc. is welcome.

akerl_ 3 hours ago | parent | next [-]

> No, AI assistance is NOT welcome in general.

Can you cite that? I see them specifically welcoming AI security reports; I don't see any evidence that other AI submissions are not welcome.

asveikau 3 hours ago | parent | next [-]

These policies seem to be often evolving lately in many projects, but I believe OpenBSD (the project OpenSSH is contained inside) is currently skeptical of AI generated code contributions at this point in time.

For example, I found this on a Google search, here is a thread from Theo, the project leader, about LLM output and copyright, where he says they can't accept it into the tree on copyright grounds. https://marc.info/?l=openbsd-tech&m=177425035627562&w=2

Elsewhere in the thread he implies using it for a code review tool is ok

minimaltom 2 hours ago | parent [-]

Idk if its accurate to rote project the policies of OpenBSD to OpenSSH, yes technically its a subproject but in practice stewardship and thus effective policy is pretty much all damien.

asveikau 44 minutes ago | parent [-]

If they disagreed about something so fundamental as the attribution of copyright, it would be a serious schism, from my outside perspective it seems along the lines of something that would lead to a fork or separation between the projects.

I also just read more context on the thread and it seems like Damien Miller is in there saying much the same thing as Theo. He wrote:

> ... use of AI-written code now [will] expose us to legal risk.

as12qh 3 hours ago | parent | prev [-]

The AI boosters should look for evidence that they do allow AI contributions! Why would they mention in the release notes that AI security bug reports are welcome if they allowed AI in general anyway?

mmooss 2 hours ago | parent | prev | next [-]

They plainly, explicitly welcome it:

"Recently the OpenSSH team have received a large number of security bug reports, many of which are findings from AI models or made with AI assistance. While many AI reports are determined not to have security impact when considered in the context of a realistic threat model, we very much welcome these reports, especially when combined with human triage, analysis, test-cases and particularly when accompanied by proposed fixes."

swingandamiss 3 hours ago | parent | prev | next [-]

Why is AI assistance not welcome?

rvz 3 hours ago | parent | prev [-]

You need to understand that they have no choice.

Attackers are going to use AI models to find bugs or 0 days quicker than those without it and of course they will not report them.

So it only makes sense to allow it and accept (valid) AI reports from reputable security researchers to keep ahead before a bug gets exploited in a vulnerable release.

As long as the submitter shows their understanding of the reported bug means and what the change is, it is fine to do so, with the reviewers gating invalid reports.

> so using AI like ASAN etc. is welcome.

AddressSanitizer is not "AI", nor does it use AI. [0]

[0] https://static.googleusercontent.com/media/research.google.c...

dpoloncsak 3 hours ago | parent | next [-]

Yeah, I'd rather a secure OpenSSH than an AI free one. I appreciate users taking stands and drawing hard lines in the sand, but I think exemptions for large foundations of networking in general should be made, as like you said, threat actors don't care much about AI assistance and will happily use any 0-days it finds.

frumplestlatz 3 hours ago | parent [-]

If you need to make exemptions for critical code because you must admit that AI is undeniably of significant utility, it's pretty foolish to still apply a blanket "hard stand" against it elsewhere.

AI is here, and it's not going anywhere. It's not going to be pretty, but the people that are going to be hit the hardest are those who cannot -- or worse, refuse to -- adapt.

I'm sympathetic -- I feel both a loss and an existential dread. I've also never, in my 30 years in my field, seen something sweep the technology space so quickly and change things so much overnight, and I see no chance of it stopping anytime soon.

dpoloncsak 2 hours ago | parent [-]

I agree with you, but I can also understand the perspective of someone who thinks, (pulling this example out of my ass) that using LLMs to review if your AAA game is 'un-cheatable' may be a misappropriate of the resources required to do so.

I'm just vouching for, at a minimum, a general acceptance of LLM security audits for 'critical infrastructure' (OpenSSH, Apache, Electron, etc.) These have become bastions of the internet as we know them today and security issues that exist in these could be disastrous. It seems like LLMs have become really good at this sort of audit specifically, but maybe that's all marketing. If you are to believe the hype, though, it seems irresponsible to not be securing these such softwares with whatever tools are available...LLMs, contracted experts, bug bounties....throw it all at the wall and see what sticks.

Obviously, something like OpenBSD (OpenSSH devs) is a non-profit, and may have trouble finding the funds for the tokens for regular audits, but that's another discussion.

as12qh 3 hours ago | parent | prev [-]

I'm not a native speaker, but in other languages the cited text clearly means "using AI in the manner of ASAN or similar tools".

jscd 4 hours ago | parent | prev | next [-]

Am I crazy to think this title is just incorrect? They say AI reports are welcome, not fixes.

nickysielicki an hour ago | parent | next [-]

They say AI reports are welcome, especially when corroborated by human triage, and/or when accompanied by fixes (unconstrained by any adjective, eg human or otherwise).

voxadam 4 hours ago | parent | prev [-]

That was sloppy work on my part. Updated.

saghm 4 hours ago | parent [-]

If you still have the ability to edit it, looks like there's a typo in the word "assistance"

voxadam 4 hours ago | parent [-]

It's just not my day.

JoshTriplett 4 hours ago | parent [-]

"AI assistance" is still not welcome in general. AI security reports are.

akerl_ 3 hours ago | parent [-]

Is that the case? I see this note focusing on AI reports in the release notes, and I've poked around the OpenSSH project more generally and don't see any indication that they don't accept or welcome other AI inputs.

gertrunde 3 hours ago | parent | prev [-]

Wow... What have they done to that webpage to make it that unreadable?

And why?

Ouch.