
You’d be running these from the web console of your digitalocean droplet. In this step, we setup our remote server to allow clients to login via a password prompt. _ip_address: Permission denied (publickey).Īfter few hours of a struggle, since I am not much of a bash or linux person, I finally got it to work by doing the following Step 1: On your remote machine/digital ocean

usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed - if you are prompted now it is to install the new keys usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed The authenticity of host 'droplet_ip_address (droplet_ip_address)' can't be established.ĮCDSA key fingerprint is SHA256:/K+ZNPJXjcuGPd70X2siC27XSRAZUU8.Īre you sure you want to continue connecting (yes/no)? yes

I kept getting a permission denied error on executing the ssh-copy-id command as seen below. Since it was a whole new OS, what else could I expect.īut, it seemed like I wasn’t even able to copy my newly generated ssh-id to the remote machine. I recently rebuilt my droplet on digital ocean using a new kernel (after taking a backup, of course), and I wasn’t able to login from my local machine using ssh.
