SSH Permission Denied

August 31, 2018 556 views
Security Ubuntu 16.04

Good evening. I've been trying to set up a server that can run a script I bought, specifically the kernel video sharing one. I have been trying to solve this issue for the last couple hours. I have done everything from resetting my server to starting a new one. Basically, I am trying to set up my SSH keys for Ubuntu. When I try to authenticate to the Ubuntu server, I keep getting a message that says: Permission denied (publickey). I have entered my public key correctly, using the guide found on this page. I have even gone so far as to restart my server from scratch and make new keys to use on my new server, still the same error. I use PuttyGen to generate the keys, and then add them both through the operating system and the settings section before the OS. What am I doing wrong? I am using Windows if that makes a difference.

1 Answer

If I were to start from scratch, using putty to generate new keys and starting my server with the the SSH already connected, how do add my public SSH to Ubuntu without getting the error? My private is already added...

  • What do you mean private is already added? you don't add private key anywhere.

    You add public key to server and use private key with Putty.

Have another answer? Share your knowledge.