I Can't access server with ssh key after disabling root login and password logins
When i looked into the auth.log file, i could see that somebody hacked into my server and was trying to access various ports of different ips.
I tried to disable the root login and password logins. However even with the private key that i have now it does not work.
login as: root Authenticating with public key "rsa-key-20190413" Passphrase for key "rsa-key-20190413": Server refused public-key signature despite accepting key!
This is what it says. Do i have to delete my droplet now and create a new one where i don’t keep the passphrase for the ssh key or is there a way to get in.
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.×