I recently added a second SSH public key, but SFTP login is not working
I recently added a second public key to the .ssh/authorizedkeys file (https://www.digitalocean.com/community/questions/how-to-i-add-a-second-key-to-the-authorizedkeys-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?
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.×