SSH key management basics
How SSH keys work and how to manage them: one ed25519 key per device, the permissions sshd demands, config Host blocks, and revoking a lost key.
Filtering by topic #ssh-keys · clear
How SSH keys work and how to manage them: one ed25519 key per device, the permissions sshd demands, config Host blocks, and revoking a lost key.
Yes. The .pub file is meant to be shared. How to tell it from the private key in ten seconds, what a stranger can do with each half, and how to make one.
cloud-init runs once on a new VPS: datasource, user-data, default user, SSH host keys. Read the logs, and fix the fresh image that will not let you log in.