Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
ed25519 ssh keys being ignored, new droplet defaults to user password without emailing passwords
- I want to create a new droplet using this public key using the ed25519 implementation of EdDSA: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPwTWZxxf3EPVd5SSlDTDMfU2Ub2L0zdDZI/4Tb0qqNZ root@syops-main
I add it by checking the checkbox while creating a new droplet.
- I try connecting to the droplet using the key, the ssh login defaults to password login.
a). DigitalOcean is not emailing me the root password. (I double checked, and emails from
DigitalOcean never land in my spam folder, which I did check just in case).
b). This key works with multiple servers I use (Arch Linux, Funtoo Linux).
c). I double checked that the public key is correct in the DigitalOcean security page.
d) RSA keys work just fine
After creating a droplet with an RSA key and normally login in:
- Adding with ssh-copy-id -f -i ided25519.pub root@[droplet-ip-address} works with that key. Removing the RSA key from the .ssh/authorizedhosts file then completes the workaround.
I’m asking here for awareness (of the problem and the workaround), does someone else experience the same problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×