I've followed the steps of Digital Ocean to create a droplet. I'm using Cloud9IDE for the development of my app.
The steps suggested using SSH for login. So I followed the steps:
ssh-keygen -t rsato create the public and private key.cat ~/.ssh/id_rsa_digital_ocean.pub(this is the name I gave the ssh file) to display to public key- Added the public key to the droplet. As part of the creation process of the droplet on Digital Ocean, you can enter the public key, which I did.
Now I try to log in using ssh -i id_rsa_digital_ocean root@IP_ADDRESS where I use the IP address of the created droplet. But then it asks for a password and when I just hit enter it says 'Permission denied'. The problem is I don't even received a password because since I created a SSH key, I'm supposed to log in that way.
ssh -i ~/.ssh/id_rsa_digital_ocean root@IP_ADDRESS. If it won't help, you need to provide debug output of connection to investigate the issue. We ran out of magic 8 balls.