Hacker News new | past | comments | ask | show | jobs | submit login

How do you do key exchange if no pw login in ssh (here helpdesk prints random pws)



You can bootstrap key exchange from a short-lived password. Not perfect but at least limits the attack time window.

Companies serious about security just have a trusted person hand out hardware with signed keys on it.


So is there a backup of the key on the hardware somewhere (in case it gets lost or destroyed)


Once you have exchanged the keys nothing stops you from creating new ones. You can for example register an additional backup Yubikey.


Small scale: You generate a keypair and give the public key to whoever is setting up your account on the server.

Large scale: You generate a keypair and give the public key to Vault or whatever, which signs it with the CA that all servers know to trust.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: