Hacker News new | ask | show | jobs
by wadim 1538 days ago
Depends on how the server was setup. Ubuntu has offered importing public keys from github for quite a while in its installer. If you're using terraform/ansible/some other IaC tool, adding a key is probably just 1-2 lines of code. Some OS, like Guix or NixOS, also allow you to define them in a config file. Worst case you can just do something like `curl -L github.com/username.keys >> .ssh/authorized_keys`.
1 comments

This is also part of the reason big fleet operators like SSH CAs, since they work for host keys and solve the key continuity problem.