9 comments

  • throw0101d 46 minutes ago
  • Bender 35 minutes ago
    Before compiling this manually or updating your OpenSSH client, back up your existing keys and test manually to all of your oldest servers of each distribution flavor. One should have protected snapshots of all their keys regardless. Append the new key to authorized keys and avoid removing the old entry until it is verified that all systems accept the new key.

    In an ideal world the trusts of public keys would be managed by a configuration management system that knows who really owns which public keys and fires alerts when unknown keys are added or added to the wrong account. Mapping should be by the public key itself and not the comment. Or configure PAM to query the SSH public keys from LDAP and cache them securely.

    • traceroute66 25 minutes ago
      > Append the new key to authorized keys and avoid removing the old entry until it is verified that all systems accept the new key.

      Also a good time to consider migrating to using SSH certificates so you never have to play the authorized keys dance ever again. :)

      Its not that difficult.

      • jeroenhd 13 minutes ago
        But then you need to update your SSH certificates, because I'd your key was signed by a broken algorithm, your certificate probably was as well.

        Which reminds me to check my certificates, actually.

      • Bender 19 minutes ago
        There are a number of pros and cons to each method that each person or organization will have to decide for themselves. If I list the pros and cons of each it will appear biased so I would encourage everyone to do their own extensive research on this topic before making such a change.
        • traceroute66 14 minutes ago
          Messing around with authorized keys files is inherently risk-laden. Stuff doesn't get put in. Stuff doesn't get taken out. Bad stuff gets put in by people accidentally or on-purpose.

          Sure there are managed ways to do it, like `AuthorizedKeysCommand` or Ansible etc.

          But for most people, especially those people allowing manual management of keys files, there are more cons than benefits of authorized keys.

          • Bender 7 minutes ago
            It is a lot more involved and nuanced. Trigger warning: I would encourage people to use their favorite LLM flavor of the day to get a more detailed answer about all the pros and cons of using traditional SSH public keys vs. SSH CA certificates.
      • champtar 15 minutes ago
        You do need to move your CA to bigger sizes or different type, so this time you still need to do some changes on all your systems.
    • ijustlovemath 13 minutes ago
      Which configuration management system do you use?
      • Bender 12 minutes ago
        I used to use Ansible but now being retired I just have a handful of hobby nodes and that is trivial to manage with a shell script compared to the 50k+ physical servers and ungodly number of VM's most of which used LDAP for ssh keys.
  • seethishat 20 minutes ago
    Curious why not RSA 4096 instead? RSA is the oldest and maybe the safest, most well studied option IMO.
    • noinsight 11 minutes ago
      Its performance is terrible. That’s the reason for the shift to ECC in the first place (partly).
      • rrr_oh_man 8 minutes ago
        What does terrible mean, practically?
        • 13415 3 minutes ago
          I'm using RSA 8192 and have no performance problems in practice. I suppose it depends on what you're doing, though, I'm only connecting to remote servers manually and with simple deployment scripts.
  • tae_yang 6 minutes ago
    wait so read-only just means you can't write files into the mount? tools/ is full of executable bash scripts and running one calls the server for real. readme literally says only use it with MCP servers you trust https://github.com/openai/mcpfs#readme
  • nocturn9x 51 minutes ago
    so 256 bit ECC is well and truly dead huh. 1 minute of silence for my favorite curve, you'll always be in my heart Ed25519
  • lewdwig 37 minutes ago
    Every “which is the best SSH key type?” blog post is now wrong in two directions
  • throw0101d 2 hours ago
    The link is pointing to the Github mirror, which can probably take a lot of traffic better than the canonical repo:

    * https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c

    (See 1.512 on Thu, 03 Dec 2026 08:40:32 UTC.)

  • chasil 38 minutes ago
    Would the 521 curve not be more prudent?
    • traceroute66 28 minutes ago
      > Would the 521 curve not be more prudent?

      Probably because their goal was notional compliance with CNSA 1.0.[1]

      [1]https://marc.info/?l=openssh-bugs&m=179646617823608&w=2

    • noinsight 9 minutes ago
      No, that curve is dead. Browsers removed support for it.
    • bflesch 26 minutes ago
      They're using FUD to push everyone away from RSA and towards a new, backdoored curve because the current backdoored curve has been exposed.
      • SoftTalker 3 minutes ago
        Is that what Anthropic discovered? An intentional backdoor and not an algorithmic weakness?
        • jMyles 2 minutes ago
          Nobody knows, but that theory has certainly been the subject of growing wild speculation over the past 72 hours.
      • mschuster91 2 minutes ago
        RSA is similarly broken. 1024 bit keys can be cracked by a sufficiently well equipped adversary (I think I came around a figure of 120 million dollars in compute cost, but that was before the AI craze), and 2048/4096 are going to fall as soon as someone manages to create a working quantum computer.
  • meindnoch 4 minutes ago
    [dead]