Question
Followed instructions. Setup SSH keys but server still prompts for password
I followed these instructions: (more than once! I have repeated the process VERY carefully several times)
https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets
However, I get to step 5:
“However, now when you connect from a machine that shares the key pair, there will be no need to enter a password to log into the root user.”
THIS IS NOT TRUE:
~ $ssh root@138.197.6.195
The authenticity of host '138.197.6.195 (138.197.6.195)' can't be established.
ECDSA key fingerprint is SHA256:QaJBHcKBwzqiHbXeNsuTS07h7m4COyU6SyVrpCG6upE.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '138.197.6.195' (ECDSA) to the list of known hosts.
root@138.197.6.195's password:
password??? WHY??????
If the instructions are wrong please correct them.
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.
×