How do I login with ssh keys on mac?

Posted November 11, 2015 11.6k views

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?

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.

Submit an Answer
2 answers

@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.