logoalt Hacker News

traceroute66 • today at 2:51 PM • 5 replies • view on HN

> 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.


Replies

jeroenhd • today at 3:03 PM

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 • today at 2:58 PM

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.

➕ show 1 reply
rustyhancock • today at 3:19 PM

I can't believe I hadn't heard of SSH certificates. It does seem a nice simplification I'll look into this weekend.

I assume and hope it's as simple as setting up one key and then automatically being able to log in with any subsequently signed key.

➕ show 1 reply
champtar • today at 3:01 PM

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.

ycombinatrix • today at 3:30 PM

Adding a remote dependency & new point of failure to my SSH servers? No thanks.