Report this

What is the reason for this report?

Issues with DO recognizing SSH private key

Posted on March 28, 2025

I created a new private key using PuTTY. Pasted key value into DO for SSH. When accessing via Filezilla key is rejected. Need suggestions.



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.

Heya, @paulhives

It sounds like the issue may be due to a mismatch in key formats between PuTTY (which uses .ppk format by default)

You can check our tutorial on how to configure FileZilla to work with ssh-key

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

Hope that this helps!

Hey Paul 👋

If you generated your key with PuTTY, it’s likely in .ppk format, which isn’t directly compatible with FileZilla or most Linux servers.

To fix that:

  1. Convert your private key to OpenSSH format using PuTTYgen:

    • Open PuTTYgen

    • Load your .ppk file

    • Go to Conversions > Export OpenSSH key

    • Save it (e.g., as id_rsa)

  2. In FileZilla, go to Settings > SFTP and add your newly converted OpenSSH key.

Also important: If you added the SSH key to your DigitalOcean account after creating the Droplet, it won’t automatically apply to that existing Droplet (for security reasons).

You’d need to manually add the public key to ~/.ssh/authorized_keys on the Droplet or rebuild the Droplet with the key pre-added.

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.