# Playbooks are failing in-between with ssh timeout error.

**URL:** <https://forum.ansible.com/t/playbooks-are-failing-in-between-with-ssh-timeout-error/36841>\
**Category:** AWX Project\
**Tags:** awx, ee\
**Created:** [July 13, 2022, 12:53pm UTC](https://forum.ansible.com/t/playbooks-are-failing-in-between-with-ssh-timeout-error/36841 "2022-07-13T12:53:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pranav\_T\_P](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@Pranav\_T\_P](https://forum.ansible.com/u/Pranav_T_P)\
**Post date:** [July 13, 2022, 12:53pm UTC](https://forum.ansible.com/t/playbooks-are-failing-in-between-with-ssh-timeout-error/36841/1 "2022-07-13T12:53:27Z")

</div>

Hello guys,

My ansible playbooks are **failing in-between** with below error while running in AWX. This is happening for all the playbooks after few steps [5-6 steps].

_fatal: UNREACHABLE! =\> {“changed”: false, “msg”: “Failed to connect to the host via ssh: Connection timed out during banner exchange”, “unreachable”: true}_

Tried to tweak the ssh timeout values in ansible.cfg file but that didn’t help. ssh connection is via jumpbox and we use ssh proxy to connect to the end servers.

[ssh\_connection]  
ssh\_args = -C -o ControlMaster=auto -o ControlPersist=600s  
timeout = 60

in playbook:  
ansible\_ssh\_args: ‘-o ControlMaster=auto -o ControlPersist=600s -o ProxyCommand=“ssh -o StrictHostKeyChecking=no -W %h:%p -l ”’

AWX versions:  
[quay.io/ansible/awx:19.5.1](http://quay.io/ansible/awx:19.5.1)  
[quay.io/ansible/awx-ee:latest](http://quay.io/ansible/awx-ee:latest)

Please let me know if you need any other details. Any suggestions will be really helpful.
