CoreOS ssh asks for password

March 11, 2016 1.6k views
Deployment

I'm trying to set up a new coreOS install and when I try to ssh in it asks for the password. Everytime this question is asked the answer is always to use the core user instead of root but I m using core. The command I'm running

ssh core@<droplet ip>

I have another droplet that my ssh keys work with and I added those existing keys when creating my CoreOS droplet.

Thank you for your help,
Greg

1 Answer

Hi Greg,

You'll want to make sure that you are using an RSA keypair to log in and not a DSA keypair. That should do the trick.

--
Jon

  • I'm using RSA keypair and coreuser instead of root but coreos is still asking for password (ssh key is added to DO account via control panel). Here I read that You cannot, however, use the control panel to add keys to already created droplets Also I did `cat ~/.ssh/id_rsa.pub | ssh core@coreos.pavelsr.host "cat >> ~/.ssh/authorized_keys" but it still asking for password. Assuming that you can add ssh keys to existing droplets only via digitalocean API.

    by Etel Sverdlov
    This guide is for Mac OS X and Linux users. Learn how to use SSH Keys with DigitalOcean Droplets.
Have another answer? Share your knowledge.