back.gif

next.gif


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:

  1. 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.

  2. Ensure that you are trying with the same user name. This is a common mistake to add keys for one user's authorized_keys and trying to connect with another user.

  3. The authorized_keys file should have permission 600. That is, read/write permission only to the owner.

  4. Finally, ensure that the keys are standard OpenSSH keys not any proprietary or application-specific format.

 

back.gif

next.gif