# SSH error during playbook execution

**URL:** <https://forum.ansible.com/t/ssh-error-during-playbook-execution/8811>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [September 27, 2024, 10:47am UTC](https://forum.ansible.com/t/ssh-error-during-playbook-execution/8811 "2024-09-27T10:47:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sistemas](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@sistemas](https://forum.ansible.com/u/sistemas)\
**Post date:** [September 27, 2024, 10:47am UTC](https://forum.ansible.com/t/ssh-error-during-playbook-execution/8811/1 "2024-09-27T10:47:59Z")

</div>

We have successfully deployed in Rocky Linux 9.3 the AWX environment in a Docker container.

We believe that the problem comes because I have created the ssh credential with the Rocky root information and not the container.

We can’t find a way to load the credentials of the container root user to the AWX credential.

When we run the Playbook we get the following error:

d/05-redhat.conf /etc/ssh/ssh\_config.d/05-redhat.conf /etc/ssh\_config.d/05-redhat.conf line 3: not matched ‘final’\r\ndebug2: match not found /etc/ssh/ssh\_config.d/05-redhat.conf line 5:…  
we did not send a packet, disable method “method1: No more authentication methods to try.nroot@10.x.x.x: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).”,  
“changed": false

Can you Help me with this problem, thanks in advance.

---

<div class="post-metadata">

**Author:** ![anon81884396](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon81884396](https://forum.ansible.com/u/anon81884396)\
**Post date:** [September 27, 2024, 12:11pm UTC](https://forum.ansible.com/t/ssh-error-during-playbook-execution/8811/2 "2024-09-27T12:11:27Z")

</div>

Hard to understand your post but typically default configurations of SSH disallow remote root login. Check the SSH config file on your remote node or better yet use a non-root user dedicated for Ansible.
