title: awx-tower connecting via proxy
body: <p>I am trying to set up AWX Tower, to run playbooks via a jump server, I tried to follow few tutorials, like:
  <a href="https://github.com/ansible/awx/issues/2172" rel="nofollow noreferrer">https://github.com/ansible/awx/issues/2172</a>
  <a href="https://docs.ansible.com/ansible-tower/latest/html/administration/tipsandtricks.html#setting-up-a-jump-host-to-use-with-tower" rel="nofollow noreferrer">https://docs.ansible.com/ansible-tower/latest/html/administration/tipsandtricks.html#setting-up-a-jump-host-to-use-with-tower</a></p>
  
  <p><strong>but it doesn't work:</strong></p>
  
  <pre><code>Host *
     StrictHostKeyChecking no
     UserKnownHostsFile=/dev/null
  
  Host jump-box
  Hostname XXXXXXXXX
  IdentityFile /var/lib/awx/.ssh/id_rsa_ansible
  
  Host XXXXXXX
  Proxycommand ssh -W ansible@XXXXXXXX nc %h:%p jump-box
  </code></pre>
  
  <p>I was also trying to set up with inventory proxy in awx web interface, but I am getting the same result, I have the newest awx and Ansible version installed, any suggestion would be very helpful.</p>
  
  <p>I can ssh to other servers using the same config, it doesn't work only from AWX Web Interface</p>
  
  <pre><code>Error:
  UNREACHABLE! =&gt; {"changed": false, "msg": "Failed to connect to the host via ssh: ssh_exchange_identification: Connection closed by remote host\r\n", "unreachable": true}
  </code></pre>