How do I login with ssh keys on mac?

I currently don’t have access to my PC… I have Auth keys setup on my server but don’t know how to access it through mac because I don’t think terminal allow ssh keys and any programs to login to sftp for mac with ssh keys?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

@JustinManager - You should be able to run ssh -i [key] root@[serverip] just as you would if you were using PuTTy or an alternative. Of course, you will need your key as once you set an SSH key up for a droplet, you’re not able to recover the root password from DO’s control panel.