Get this error when try to connect to AWS Instance using SFTP/SSH node: ERROR: connect->getConnection: All configured authentication methods failed

,

Describe the issue/error/question

Hi folks,

i always have this error when try to connect to AWS Instance.
I tried using Terminus for SSH and SFTP, it’s connected…
any solution for this problem?

What is the error message (if any)?

ERROR: connect->getConnection: All configured authentication methods failed

Hi @masmoek, I am sorry to hear you’re having trouble. Which authentication method are you trying to use when running into this problem and what kind of AWS instance exactly are you using?

i’m using privat key,

the instance is EC2 t2.micro

Thanks @masmoek, which OS are you using on your EC2 instance?

Ubuntu 22.04

Thanks for confirming @masmoek. I was able to reproduce this on my end and have added this to our internal bug tracker for a closer look.

Thankyouu…

For now i alternatively using Uploadcare API to upload file and embed (integrate) the image from uploadcare to wordpress post…