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:
Convert your private key to OpenSSH format using PuTTYgen:
Open PuTTYgen
Load your
.ppk
fileGo 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