I have setup the keypair for my aws machine.
Added ssh - anywhere and icmp - anywhere inbound rules to my security groups.
I am able to ping the ec2 instance. but when I provide private key to my putty it asks for login as: .
Moment I provide my root user for my aws account or even "ec2-user" it says server "refused our key"