Connecting via Mac os x after I set up the ssh through Putty

So I set up my droplet with a SSH key with putty on my windows 7 machine. Now when I try to log onto it with my macbook it says that my password is wrong. Though I know for a fact it is correct. Can I just not go from one to the other? I have tried to look it up but haven’t found a definite answer. Thanks


I have tried following the steps on this digital ocean tutorial, but it doesn’t say anything about trying to connect via os x when you already have it set up from a different machine. I don’t think it should really matter as long as I have the correct password that I linked to the SSH key, correct?

Submit an 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.


PuTTy and other SSH clients are simply a way to connect to the OpenSSH daemon on your Droplet. It doesn’t matter which client you used to set up your Droplet, so you should be able to access it from your macbook as well.

However, if you generated the SSH key using PuTTygen, you will need to convert it to the OpenSSH format as PuTTy saves its private keys in its own format. In order to do that, open your PuTTy key in PuTTygen and click on Export OpenSSH under Conversions. Then, transfer the resulting file to your macbook.

You can use it by passing it along with -i to the ssh command, like this:

ssh -i /path/to/exported/key user@ip

Or, move it to ~/.ssh/id_rsa, making sure that you don’t overwrite any existing key that you might already have and need, and ssh should automatically pick it up and use it without having to pass the -i option to it.