Question

SSH key not working

Posted April 4, 2019 1.3k views
Security Initial Server Setup Ubuntu 18.04

I need assistance setting up my SSH key. I have done extensive research on how to get the key working to no avail. I also may have broken something on the initial attempt due to trying to create the key on the server and installing the private key on my local machine instead of creating it on my local machine and installing the public key on the server.
Server: Linux 18.10
Local: Windows 10 (FileZilla is installed)
Error: Permission denied (publickey)

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.

2 answers

This case has been resolved and is now closed.

you did not break anything on your first attempt, Kreistan. You see, the problem is, DigitalOcean does not know how to create their servers properly because I am a linux expert and have uploaded my SSH keys numerous times on first droplet creations. I cannot log in either. I have destroyed and re-created so many droplets, and even tried provisioning without the SSH key waiting for my password to be emailed to me but sure enough, nothing is there either! I don’t know how these guys stay in business!

  • If you do not have a solution, do not reply.

  • I am desperate, I think I have a lot of patience, but every single new droplet and key pair I make stop working after I log out once or twice. I am tired of trying and end up being locked out. When I read your post I thought you described the situation exactly as it is. And by the way, nobody should tell you how you have to answer.

Submit an Answer