# SSh Connection with key instead password

**URL:** <https://forum.ansible.com/t/ssh-connection-with-key-instead-password/31133>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [August 27, 2019, 11:56am UTC](https://forum.ansible.com/t/ssh-connection-with-key-instead-password/31133 "2019-08-27T11:56:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andre\_Trindade](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Andre\_Trindade](https://forum.ansible.com/u/Andre_Trindade)\
**Post date:** [August 27, 2019, 11:56am UTC](https://forum.ansible.com/t/ssh-connection-with-key-instead-password/31133/1 "2019-08-27T11:56:42Z")

</div>

Good morning awx community.

I am getting a little trouble executing job templates with ssh key instead password.

Is there something else i have to do?

Thank you.

Best Regards.

 ![](https://us1.discourse-cdn.com/ansible/original/2X/c/ce534c0743e059d682304872722a2265311d43b2.png) ![](https://us1.discourse-cdn.com/ansible/original/2X/3/30794cdd9d7736e7e9f38b6d30ddbf7629664b14.png)

---

<div class="post-metadata">

**Author:** ![Andre\_Trindade](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@Andre\_Trindade](https://forum.ansible.com/u/Andre_Trindade)\
**Post date:** [August 27, 2019, 5:14pm UTC](https://forum.ansible.com/t/ssh-connection-with-key-instead-password/31133/2 "2019-08-27T17:14:31Z")

</div>

Can someone tell me why is it needed a ssh private key? Is it the private key of the remote machine?

---

<div class="post-metadata">

**Author:** ![Foley\_John](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@Foley\_John](https://forum.ansible.com/u/Foley_John)\
**Post date:** [August 27, 2019, 5:27pm UTC](https://forum.ansible.com/t/ssh-connection-with-key-instead-password/31133/3 "2019-08-27T17:27:58Z")

</div>

No, it is a private key associated with the public key, of which should be installed on the target server.

J. Foley
