Hi all,
I already searched the web to update ssh configuration, but was unsuccessful. Is there an official way to inject a customized ssh configuration? If not I would raise an issue.
The problem: I have a couple of servers behind a jumphost with a special port, I want to manage with AWX.
As a workaround the following script does the job after installation:
----
#!/bin/bash
docker cp awx_task:/etc/ssh/ssh_config .
cat >> ssh_config << EOT
host jumphost
User jump
ProxyCommand none
Port 4321
StrictHostKeyChecking no
host *.hidden.lan
User root
StrictHostKeyChecking no
ProxyCommand ssh root@jumphost -W %h:%p
EOT
docker cp ssh_config awx_task:/etc/ssh/ssh_config
----
Now I can add the hosts server1.hidden.lan, server2.hidden.lan etc. to the inventory and manage them perfectly well.
Thanks for your answer
Cheers
Markus