Windows Hosts Fail: Control master terminated unexpectedly

Hello, I’m having issues with Ansible connecting to WIndows Hosts with OpenSHH. Receiving the following Error:

Data could not be sent to remote host “10…10.10.10”. Make sure this host can be reached over ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

Authentication and connection are ok. I am able to SSH perfectly fine from the ansible host, but i get the following with ssh debug:

packet_write_wait: Connection to 10.10.10.10 port 22: Broken pipe
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Control master terminated unexpectedly
unreachable: true

Full Debug:

Data could not be sent to remote host “10.10.10.10”. Make sure this host can be reached over ssh: OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017

13:48:55 debug1: Reading configuration data /home/tomcat/.ssh/config
13:48:55 debug1: Reading configuration data /etc/ssh/ssh_config
13:48:55 debug1: /etc/ssh/ssh_config line 58: Applying options for *
13:48:55 debug3: kex names ok: [ecdh-sha2-nistp521]
13:48:55 debug1: auto-mux: Trying existing master
13:48:55 debug1: Control socket “/home/tomcat/.ansible/cp/0bb906a491” does not exist
13:48:55 debug2: resolving “10.10.10.10” port 22
13:48:55 debug2: ssh_connect_direct: needpriv 0
13:48:55 debug1: Connecting to 10.10.10.10 [10.10.10.10] port 22.
13:48:55 debug2: fd 3 setting O_NONBLOCK
13:48:55 debug1: fd 3 clearing O_NONBLOCK
13:48:55 debug1: Connection established.
13:48:55 debug3: timeout: 60000 ms remain after connect
13:48:55 debug1: identity file /home/tomcat/.ssh/id_rsa type 1
13:48:55 debug1: key_load_public: No such file or directory
13:48:55 debug1: identity file /home/tomcat/.ssh/id_rsa-cert type -1
13:48:55 debug1: key_load_public: No such file or directory
13:48:55 debug1: identity file /home/tomcat/.ssh/id_dsa type -1
13:48:55 debug1: key_load_public: No such file or directory
13:48:55 debug1: identity file /home/tomcat/.ssh/id_dsa-cert type -1
13:48:55 debug1: key_load_public: No such file or directory
13:48:55 debug1: identity file /home/tomcat/.ssh/id_ecdsa type -1
13:48:55 debug1: key_load_public: No such file or directory
13:48:55 debug1: identity file /home/tomcat/.ssh/id_ecdsa-cert type -1
13:48:55 debug1: key_load_public: No such file or directory
13:48:55 debug1: identity file /home/tomcat/.ssh/id_ed25519 type -1
13:48:55 debug1: key_load_public: No such file or directory
13:48:55 debug1: identity file /home/tomcat/.ssh/id_ed25519-cert type -1
13:48:55 debug1: Enabling compatibility mode for protocol 2.0
13:48:55 debug1: Local version string SSH-2.0-OpenSSH_7.4
13:48:55 debug1: Remote protocol version 2.0, remote software version OpenSSH_for_Windows_8.0
13:48:55 debug1: match: OpenSSH_for_Windows_8.0 pat OpenSSH* compat 0x04000000
13:48:55 debug2: fd 3 setting O_NONBLOCK
13:48:55 debug1: Authenticating to 10.10.10.10:22 as ‘Admin’
13:48:55 debug3: hostkeys_foreach: reading file “/home/tomcat/.ssh/known_hosts”
13:48:55 debug3: record_hostkey: found key type ECDSA in file /home/tomcat/.ssh/known_hosts:1233
13:48:55 debug3: load_hostkeys: loaded 1 keys from 10.10.10.10
13:48:55 debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
13:48:55 debug3: send packet: type 20
13:48:55 debug1: SSH2_MSG_KEXINIT sent
13:48:55 debug3: receive packet: type 20
13:48:55 debug1: SSH2_MSG_KEXINIT received
13:48:55 debug2: local client KEXINIT proposal
13:48:55 debug2: KEX algorithms: ecdh-sha2-nistp521,ext-info-c
13:48:55 debug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss
13:48:55 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc
13:48:55 debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc
13:48:55 debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
13:48:55 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
13:48:55 debug2: compression ctos: zlib@openssh.com,zlib,none
13:48:55 debug2: compression stoc: zlib@openssh.com,zlib,none
13:48:55 debug2: languages ctos:
13:48:55 debug2: languages stoc:
13:48:55 debug2: first_kex_follows 0
13:48:55 debug2: reserved 0
13:48:55 debug2: peer server KEXINIT proposal
13:48:55 debug2: KEX algorithms: ecdh-sha2-nistp521
13:48:55 debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519
13:48:55 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
13:48:55 debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
13:48:55 debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
13:48:55 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
13:48:55 debug2: compression ctos: none
13:48:55 debug2: compression stoc: none
13:48:55 debug2: languages ctos:
13:48:55 debug2: languages stoc:
13:48:55 debug2: first_kex_follows 0
13:48:55 debug2: reserved 0
13:48:55 debug1: kex: algorithm: ecdh-sha2-nistp521
13:48:55 debug1: kex: host key algorithm: ecdsa-sha2-nistp256
13:48:55 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none
13:48:55 debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none
13:48:55 debug1: kex: ecdh-sha2-nistp521 need=64 dh_need=64
13:48:55 debug1: kex: ecdh-sha2-nistp521 need=64 dh_need=64
13:48:55 debug3: send packet: type 30
13:48:55 debug1: sending SSH2_MSG_KEX_ECDH_INIT
13:48:55 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
13:48:55 debug3: receive packet: type 31
13:48:55 debug1: Server host key: ecdsa-sha2-nistp256 SHA256:Gceko5YQXsPkg+NGInvhonIRySWO/pqv77ejuBKxrzw
13:48:55 debug3: hostkeys_foreach: reading file “/home/tomcat/.ssh/known_hosts”
13:48:55 debug3: record_hostkey: found key type ECDSA in file /home/tomcat/.ssh/known_hosts:1233
13:48:55 debug3: load_hostkeys: loaded 1 keys from 10.10.10.10
13:48:55 debug1: Host ‘10.10.10.10’ is known and matches the ECDSA host key.
13:48:55 debug1: Found key in /home/tomcat/.ssh/known_hosts:1233
13:48:55 debug3: send packet: type 21
13:48:55 debug2: set_newkeys: mode 1
13:48:55 debug1: rekey after 134217728 blocks
13:48:55 debug1: SSH2_MSG_NEWKEYS sent
13:48:55 debug1: expecting SSH2_MSG_NEWKEYS
13:48:55 debug3: receive packet: type 21
13:48:55 debug1: SSH2_MSG_NEWKEYS received
13:48:55 debug2: set_newkeys: mode 0
13:48:55 debug1: rekey after 134217728 blocks
13:48:55 debug2: key: /home/tomcat/.ssh/id_rsa (0x56380c8da390)
13:48:55 debug2: key: /home/tomcat/.ssh/id_dsa ((nil))
13:48:55 debug2: key: /home/tomcat/.ssh/id_ecdsa ((nil))
13:48:55 debug2: key: /home/tomcat/.ssh/id_ed25519 ((nil))
13:48:55 debug3: send packet: type 5
13:48:55 debug3: receive packet: type 7
13:48:55 debug1: SSH2_MSG_EXT_INFO received
13:48:55 debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
13:48:55 debug3: receive packet: type 6
13:48:55 debug2: service_accept: ssh-userauth
13:48:55 debug1: SSH2_MSG_SERVICE_ACCEPT received
13:48:55 debug3: send packet: type 50
13:48:55 debug3: receive packet: type 51
13:48:55 debug1: Authentications that can continue: publickey,password,keyboard-interactive
13:48:55 debug3: start over, passed a different list publickey,password,keyboard-interactive
13:48:55 debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
13:48:55 debug3: authmethod_lookup publickey
13:48:55 debug3: remaining preferred: keyboard-interactive,password
13:48:55 debug3: authmethod_is_enabled publickey
13:48:55 debug1: Next authentication method: publickey
13:48:55 debug1: Offering RSA public key: /home/tomcat/.ssh/id_rsa
13:48:55 debug3: send_pubkey_test
13:48:55 debug3: send packet: type 50
13:48:55 debug2: we sent a publickey packet, wait for reply
13:48:55 debug3: receive packet: type 51
13:48:55 debug1: Authentications that can continue: publickey,password,keyboard-interactive
13:48:55 debug1: Trying private key: /home/tomcat/.ssh/id_dsa
13:48:55 debug3: no such identity: /home/tomcat/.ssh/id_dsa: No such file or directory
13:48:55 debug1: Trying private key: /home/tomcat/.ssh/id_ecdsa
13:48:55 debug3: no such identity: /home/tomcat/.ssh/id_ecdsa: No such file or directory
13:48:55 debug1: Trying private key: /home/tomcat/.ssh/id_ed25519
13:48:55 debug3: no such identity: /home/tomcat/.ssh/id_ed25519: No such file or directory
13:48:55 debug2: we did not send a packet, disable method
13:48:55 debug3: authmethod_lookup keyboard-interactive
13:48:55 debug3: remaining preferred: password
13:48:55 debug3: authmethod_is_enabled keyboard-interactive
13:48:55 debug1: Next authentication method: keyboard-interactive
13:48:55 debug2: userauth_kbdint
13:48:55 debug3: send packet: type 50
13:48:55 debug2: we sent a keyboard-interactive packet, wait for reply
13:48:55 debug3: receive packet: type 51
13:48:55 debug1: Authentications that can continue: publickey,password,keyboard-interactive
13:48:55 debug3: userauth_kbdint: disable: no info_req_seen
13:48:55 debug2: we did not send a packet, disable method
13:48:55 debug3: authmethod_lookup password
13:48:55 debug3: remaining preferred:
13:48:55 debug3: authmethod_is_enabled password
13:48:55 debug1: Next authentication method: password
13:48:55 debug3: send packet: type 50
13:48:55 debug2: we sent a password packet, wait for reply
13:48:55 debug3: receive packet: type 52
13:48:55 debug1: Authentication succeeded (password).
13:48:55 Authenticated to 10.10.10.10 ([10.10.10.10]:22).
13:48:55 debug1: setting up multiplex master socket
13:48:55 debug3: muxserver_listen: temporary control path /home/tomcat/.ansible/cp/0bb906a491.dvYQoANcw9lEBbYA
13:48:55 debug2: fd 4 setting O_NONBLOCK
13:48:55 debug3: fd 4 is O_NONBLOCK
13:48:55 debug3: fd 4 is O_NONBLOCK
13:48:55 debug1: channel 0: new [/home/tomcat/.ansible/cp/0bb906a491]
13:48:55 debug3: muxserver_listen: mux listener channel 0 fd 4
13:48:55 debug2: fd 3 setting TCP_NODELAY
13:48:55 debug3: ssh_packet_set_tos: set IP_TOS 0x08
13:48:55 debug1: control_persist_detach: backgrounding master process
13:48:55 debug2: control_persist_detach: background process is 2105
13:48:55 debug2: fd 4 setting O_NONBLOCK
13:48:55 debug1: forking to background
13:48:55 debug1: Entering interactive session.
13:48:55 debug1: pledge: id
13:48:55 debug2: set_control_persist_exit_time: schedule exit in 60 seconds
13:48:55 debug1: multiplexing control connection
13:48:55 debug2: fd 5 setting O_NONBLOCK
13:48:55 debug3: fd 5 is O_NONBLOCK
13:48:55 debug1: channel 1: new [mux-control]
13:48:55 debug3: channel_post_mux_listener: new mux channel 1 fd 5
13:48:55 debug3: mux_master_read_cb: channel 1: hello sent
13:48:55 debug2: set_control_persist_exit_time: cancel scheduled exit
13:48:55 debug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4
13:48:55 debug2: process_mux_master_hello: channel 1 slave version 4
13:48:55 debug2: mux_client_hello_exchange: master version 4
13:48:55 debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
13:48:55 debug3: mux_client_request_session: entering
13:48:55 debug3: mux_client_request_alive: entering
13:48:55 debug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4
13:48:55 debug2: process_mux_alive_check: channel 1: alive check
13:48:55 debug3: mux_client_request_alive: done pid = 2107
13:48:55 debug3: mux_client_request_session: session request sent
13:48:55 debug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 3784
13:48:55 debug2: process_mux_new_session: channel 1: request tty 0, X 0, agent 0, subsys 0, term “”, cmd "chcp.com 65001 >nul 2>&1 && PowerShell -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand UABvAHcAZQByAFMAaABlAGwAbAAgAC0ATgBvAFAAcgBvAGYAaQBsAGUAIAAtAE4AbwBuAEkAbgB0AGUAcgBhAGMAdABpAHYAZQAgAC0ARQB4AGUAYwB1AHQAaQBvAG4AUABvAGwAaQBjAHkAIABVAG4AcgBlAHMAdAByAGkAYwB0AGUAZAAgAC0ARQBuAGMAbwBkAGUAZABDAG8AbQBtAGEAbgBkACAASgBnAEIAagBBAEcAZwBBAFkAdwBCAHcAQQBDADQAQQBZAHcAQgB2AEEARwAwAEEASQBBAEEAMgBBAEQAVQBBAE0AQQBBAHcAQQBEAEUAQQBJAEEAQQArAEEAQwBBAEEASgBBAEIAdQBBAEgAVQBBAGIAQQBCAHMAQQBBAG8AQQBhAFEAQgBtAEEAQwBBAEEASwBBAEEAawBBAEYAQQBBAFUAdwBCAFcAQQBHAFUAQQBjAGcAQgB6AEEARwBrAEEAYgB3AEIAdQBBAEYAUQBBAFkAUQBCAGkAQQBHAHcAQQBaAFEAQQB1AEEARgBBAEEAVQB3AEIAVwBBAEcAVQBBAGMAZwBCAHoAQQBHAGsAQQBiAHcAQgB1AEEAQwBBAEEATABRAEIAcwBBAEgAUQBBAEkAQQBCAGIAQQBGAFkAQQBaAFEAQgB5AEEASABNAEEAYQBRAEIAdgBBAEcANABBAFgAUQBBAGkAQQBEAE0AQQBMAGcAQQB3AEEAQwBJAEEASwBRAEEAZwBBAEgAcwBBAEMAZwBBAG4AQQBIAHMAQQBJAGcAQgBtAEEARwBFAEEAYQBRAEIAcwBBAEdebug3: process_mux_new_session: got fds stdin 6, stdout 7, stderr 8
13:48:55 debug2: fd 6 setting O_NONBLOCK
13:48:55 debug2: fd 7 setting O_NONBLOCK
13:48:55 debug2: fd 8 setting O_NONBLOCK
13:48:55 debug1: channel 2: new [client-session]
13:48:55 debug2: process_mux_new_session: channel_new: 2 linked to control channel 1
13:48:55 debug2: channel 2: send open
13:48:55 debug3: send packet: type 90
13:48:55 debug3: receive packet: type 80
13:48:55 debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
13:48:55 debug3: receive packet: type 91
13:48:55 debug2: callback start
13:48:55 debug2: client_session2_setup: id 2
13:48:55 debug1: Sending environment.
13:48:55 debug1: Sending env LANG = en_US.UTF-8
13:48:55 debug2: channel 2: request env confirm 0
13:48:55 debug3: send packet: type 98
13:48:55 debug1: Sending command: chcp.com 65001 >nul 2>&1 && PowerShell -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand UABvAHcAZQByAFMAaABlAGwAbAAgAC0ATgBvAFAAcgBvAGYAaQBsAGUAIAAtAE4AbwBuAEkAbgB0AGUAcgBhAGMAdABpAHYAZQAgAC0ARQB4AGUAYwB1AHQAaQBvAG4AUABvAGwAaQBjAHkAIABVAG4AcgBlAHMAdAByAGkAYwB0AGUAZAAgAC0ARQBuAGMAbwBkAGUAZABDAG8AbQBtAGEAbgBkACAASgBnAEIAagBBAEcAZwBBAFkAdwBCAHcAQQBDADQAQQBZAHcAQgB2AEEARwAwAEEASQBBAEEAMgBBAEQAVQBBAE0AQQBBAHcAQQBEAEUAQQBJAEEAQQArAEEAQwBBAEEASgBBAEIAdQBBAEgAVQBBAGIAQQBCAHMAQQBBAG8AQQBhAFEAQgBtAEEAQwBBAEEASwBBAEEAawBBAEYAQQBBAFUAdwBCAFcAQQBHAFUAQQBjAGcAQgB6AEEARwBrAEEAYgB3AEIAdQBBAEYAUQBBAFkAUQBCAGkAQQBHAHcAQQBaAFEAQQB1AEEARgBBAEEAVQB3AEIAVwBBAEcAVQBBAGMAZwBCAHoAQQBHAGsAQQBiAHcAQgB1AEEAQwBBAEEATABRAEIAcwBBAEgAUQBBAEkAQQBCAGIAQQBGAFkAQQBaAFEAQgB5AEEASABNAEEAYQBRAEIAdgBBAEcANABBAFgAUQBBAGkAQQBEAE0AQQBMAGcAQQB3AEEAQwBJAEEASwBRAEEAZwBBAEgAcwBBAEMAZwBBAG4AQQBIAHMAQQBJAGcAQgBt
13:48:55 debug2: channel 2: request exec confirm 1
13:48:55 debug3: send packet: type 98
13:48:55 debug3: mux_session_confirm: sending success reply
13:48:55 debug2: callback done
13:48:55 debug2: channel 2: open confirm rwindow 0 rmax 32768
13:48:55 debug1: mux_client_request_session: master session id: 2
13:48:55 debug2: channel 2: rcvd adjust 2097152
13:48:55 debug3: receive packet: type 99
13:48:55 debug2: channel_input_status_confirm: type 99 id 2
13:48:55 debug2: exec request accepted on channel 2
13:48:55 debug2: channel 2: read<=0 rfd 6 len 0
13:48:55 debug2: channel 2: read failed
13:48:55 debug2: channel 2: close_read
13:48:55 debug2: channel 2: input open → drain
13:48:55 debug2: channel 2: ibuf empty
13:48:55 debug2: channel 2: send eof
13:48:55 debug3: send packet: type 96
13:48:55 debug2: channel 2: input drain → closed
13:48:55 debug2: channel 2: rcvd ext data 11
13:48:55 #< CLIXML
13:48:55 debug2: channel 2: written 11 to efd 8
13:48:55 debug3: send packet: type 80
13:48:55 debug3: receive packet: type 98
13:48:55 debug1: client_input_channel_req: channel 2 rtype keepalive@openssh.com reply 1
13:48:55 debug3: send packet: type 100
13:48:55 debug3: send packet: type 1
13:48:55 packet_write_wait: Connection to 10.10.10.10 port 22: Broken pipe
13:48:55 debug3: mux_client_read_packet: read header failed: Broken pipe
13:48:55 debug2: Control master terminated unexpectedly
13:48:55 unreachable: true

Ansible SSH Config:

Host *

GSSAPIAuthentication yes

KexAlgorithms ecdh-sha2-nistp521

ServerAliveInterval 10

ServerAliveCountMax 10

Host Inventory

ansible_ssh_user: “Admin”
ansible_ssh_pass: “password”
ansible_shell_type: ‘cmd’
ansible_remote_tmp: 'C:\Windows\Temp'
ansible_ssh_common_args: ‘-vvv’

Attempted Fixes:
Ansible_scp_if_ssh=True
Ansible_Pipelining=True
Ansible_SSH_Pipelining=True
Ansible_SSH_Args: ‘-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=“/home/devel/.ansible/cp/ansible-ssh-%h-%p-%r”’
Ansible_connection: “Paramiko”

Anyone have any clue as to what might be the issue? any and all recommendations are greatly appreciated!