Authentication problem with key authentication
To resolve an error like,
"Failed to connect to SFTP: Error: offering public key failed, access denied, authentications that can continue: ...." or similar, do this:
- Ensure that whatever the public key content you pasted in authorized_keys is same 'byte by byte' that you paste in Monyog's public key field.
- Ensure that you are trying with the same username. This is a common mistake to add keys for one user's authorized_keys and trying to connect with another user.
- The authorized_keys file should have permission 600. That is, read/write permission only to the owner.
- Finally, ensure that the keys are standard OpenSSH keys not any proprietary or application-specific format.