Unable to connect to ec2-host (errors with permission denied errors) in AWS.
It is trying to connect as ec2-user@ec2_remotehost |FAILED> SSH Error: Permission denied (publickey).
while connecting to ec2_remotehost:22
If this is already fixed, let me know the bug number and I can close this as duplicate.
[test]
ec2_remotehost ansible_ssh_user=ansible
userid exists.
ansible> ssh ansible@ec2_remotehost -i ~ansible/.ssh/id_rsa works