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 email@example.com The authenticity of host '18.104.22.168 (22.214.171.124)' can't be established. ECDSA key fingerprint is SHA256:QaJBHcKBwzqiHbXeNsuTS07h7m4COyU6SyVrpCG6upE. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '126.96.36.199' (ECDSA) to the list of known hosts. firstname.lastname@example.org's password:
If the instructions are wrong please correct them.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!