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.
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.
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.
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.
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.
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.
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
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.
* https://github.com/openssh/openssh-portable/commit/fc6f26530...
* https://github.com/openssh/openssh-portable/commits/master/s...
* https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c (1.514)
It is per:
* https://datatracker.ietf.org/doc/draft-ietf-sshm-composite-s...
[1] https://datatracker.ietf.org/doc/draft-sun-ssh-composite-sig...
Looks like that's do do with using FIPS-approved algos.
https://marc.info/?l=openssh-bugs&m=179641802244257&w=2
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.
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.
Which reminds me to check my certificates, actually.
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.
* https://cvsweb.openbsd.org/log/src/usr.bin/ssh/ssh-keygen.c
(See 1.512 on Thu, 03 Dec 2026 08:40:32 UTC.)
Probably because their goal was notional compliance with CNSA 1.0.[1]
[1]https://marc.info/?l=openssh-bugs&m=179646617823608&w=2