Report this

What is the reason for this report?

I recently added a second SSH public key, but SFTP login is not working

Posted on August 7, 2017

I recently added a second public key to the .ssh/authorized_keys file (https://www.digitalocean.com/community/questions/how-to-i-add-a-second-key-to-the-authorized_keys-file), but while to login to the server with SSH works, it doesn’t work for SFTP with the second public key that I installed.

Am I missing something?



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.

I am having this same issue using FileZilla SFTP - I’ve followed the instruction for setting up my key, adding a key to an existing droplet and some fixes suggested along the way. Would love some support to get connected to the site.

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.