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!
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:
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
)
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.