# ssh key authentication fails on a new AWX Instance

**URL:** <https://forum.ansible.com/t/ssh-key-authentication-fails-on-a-new-awx-instance/34196>\
**Category:** AWX Project\
**Tags:** awx, aws\
**Created:** [November 13, 2020, 4:56pm UTC](https://forum.ansible.com/t/ssh-key-authentication-fails-on-a-new-awx-instance/34196 "2020-11-13T16:56:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anish\_anil](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@anish\_anil](https://forum.ansible.com/u/anish_anil)\
**Post date:** [November 13, 2020, 4:56pm UTC](https://forum.ansible.com/t/ssh-key-authentication-fails-on-a-new-awx-instance/34196/1 "2020-11-13T16:56:25Z")

</div>

Hello AWX Team,

I’m unable to run a simple ping command on a new instance of AWX

Setup is on AWS

AWX 15.0.1

Ansible 2.9.14

Docker version 19.03.13, build 4484c46d9d

Steps followed:

1\> Install AWX using the Docker-Compose option  
2\> login using default credentials  
3\> click on credentials  
4\> create a new machine credential  
5\> Paste the ssh PRIVATE key  
save it  
6\> Click on Inventory  
7\> click on Demo Inventory  
8\> add a new host  
9\> click on the host then press run command  
10\> use the ping module  
11\> choose the credential that was created earlier  
12 \> Fails with the error:
