**I am completely new to DigitalOcean. I have a somehow connected droplet at the first time I have created ssh key. I have given the name
id_do_rsa.pub just because I am having one more set of ssh for bitbucket.
Now after a few days when I am trying to login using
ssh firstname.lastname@example.org it is giving me Permission denied (publickey) error.
In the log using
ssh -vvv email@example.com I think it is using
id_rsa instead of
... debug1: Will attempt key: /Users/username/.ssh/id_rsa RSA SHA256:C2lx71R4KU ...
Is there any way to fix it or will I have to create another key?
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 $200 of credit to try our products over 60 days!