Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years agoFeature idea: when creating ssh keys, consider option to auto add comment to end of public key
When copying and pasting public keys to remote servers it is helpful if they include a comment to easily identify keys when reviewing authorized_keys
Under Developer options consider having a flag...
- 8 months ago
Hi all,
Thanks for your feedback on this. This is a common request and I have updated the requirements for the team. I cannot guarantee anything, but this is definitely a topic of discussion internally at the moment.
Thanks and stay tuned!
Phil
BobW
8 days agoDedicated Contributor
I just tested adding a "comment" text field to an SSH key item, and indeed, it properly exports as an addendum to the public key whether you use the Download feature or the Copy feature. Fantastic! (Even if it apparently took four years.)
Given the functionality relies on the user manually adding a magic text field, I strongly suggest documenting the behavior beyond this thread since it's otherwise more easter egg than feature, with near-zero discoverability. I'm sure some will stumble on it since the magic name isn't something esoteric, but still, even developer-types appreciate docs sometimes. This page looks like the right spot to add it:
https://developer.1password.com/docs/ssh/manage-keys/
A future refinement might be to include the comments field by default, preferably as part of the core field block, meaning a new key item would have a group of fields that includes public key, fingerprint, private key, key type, and comment. In this scenario, renaming the comment field to something like "public key comment" might also be a good way to clarify exactly what the value is used for.