AWX Connection to Proxy Server - kex_exchange_identification Error

I am attempting to connect to a server that can only be SSH into from a proxy server. When I attempt to ssh from my Job template, I receive this error:

Failed to connect to the host via ssh: kex_exchange_identification: Connection closed by remote host\r\nConnection closed by UNKNOWN port 65535

When I attempt from the Node of the AWX Kubernetes Cluster, I can ssh in.

I have updated my inventory vars on the inventory detail page to:

---
ansible_connection: ssh
ansible_ssh_common_args:  '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no  -o ProxyCommand=" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/nul ncat --proxy-type socks5 --proxy <MY-Proxy-Server>:<My Proxy-Server-Port> %h %p"'

AWX Version: 23.7.0

I am unable to capture logs, due to the pod keep terminating, even though I have Release Receptor Work enabled

Solved the issue, the execution env image needed to to have ncat install on it

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.