Question

Issues with DO recognizing SSH private key

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


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.

alexdo
Site Moderator
Site Moderator badge
March 31, 2025

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!

Bobby Iliev
Site Moderator
Site Moderator badge
April 2, 2025

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

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

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.