# ssh timeout when using winrm

**URL:** <https://forum.ansible.com/t/ssh-timeout-when-using-winrm/28724>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [October 4, 2018, 1:26pm UTC](https://forum.ansible.com/t/ssh-timeout-when-using-winrm/28724 "2018-10-04T13:26:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaldi](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@aaldi](https://forum.ansible.com/u/aaldi)\
**Post date:** [October 4, 2018, 1:26pm UTC](https://forum.ansible.com/t/ssh-timeout-when-using-winrm/28724/1 "2018-10-04T13:26:15Z")

</div>

Hi,

I’m having trouble with using ansible and opening an ssh connection at the same time. It seems that whenever the server communicates to a windows machine using winrm, ssh communication is blocked from the windows machine to the server (times out without any response). I don’t have access to the network config, so this might be a network restriction, but was wondering if anyone ran into this before?

---

<div class="post-metadata">

**Author:** ![aaldi](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@aaldi](https://forum.ansible.com/u/aaldi)\
**Post date:** [October 4, 2018, 3:00pm UTC](https://forum.ansible.com/t/ssh-timeout-when-using-winrm/28724/2 "2018-10-04T15:00:48Z")

</div>

Just to note. Windows machine was windows 7, server was centos.

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [October 4, 2018, 9:37pm UTC](https://forum.ansible.com/t/ssh-timeout-when-using-winrm/28724/3 "2018-10-04T21:37:20Z")

</div>

If you are getting an SSH timeout while trying to connect to the Windows box, means Ansible is not using the winrm connection plugin to connect. I’m not 100% sure of the issue you have so please share the playbook you are trying to run and the output with -vvv here.

Thanks

Jordan
