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