Error - No supported authentication methods available (Server sent: Publickey)

Advertisement

marahim501
Joined:
Posts:
1
Location:
bangalore

Error - No supported authentication methods available (Server sent: Publickey)

I'm using WinSCP SFTP Client to connect.
It's working fine with FileZilla but errors with WinSCP.

image.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
37,599
Location:
Prague, Czechia

Re: Error - No supported authentication methods available (Server sent: Publickey)

Please post logs files from both with the same settings.

Reply with quote

kevinantao
Joined:
Posts:
1
Location:
Pune

Unable to login to ubuntu ec2 instance, thought login to RHEL instance is success

I have launched two instances - a RHEL and a ubuntu instance (on AWS EC2), both using the same KeyPair.

1. Using Winscp, I am able to login to RHEL instance. Log attached.
2. However during login to ubuntu instance via WinScp, receiving the error "No supported authentication methods available (server sent: publickey)". Log attached.
3. Surprisingly, I am able to sftp to ubuntu instance via command prompt.

Attached are the success logs (of RHEL) and failure logs (via ubuntu)
Description: Login to Ubuntu instance failure log
Description: 1 RHEL instance Log

Reply with quote

bernid
Joined:
Posts:
2

Hi,
After Ubuntu server upgrade to 22.04 suddenly I can't connect to my Ubuntu server using WinScp. I receive the same message:
No supported authentication methods available (server sent: publickey)
See attached log.
This is strange since using the same key I can connect to my machine using putty or Android JuiceSSH
I have added
ela ALL=(ALL) NOPASSWD:ALL
line using visudo.
What to do to restore WinScp access to my Ubuntu server?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum