Problem:
Tried to run a command and got the following error: Error intiializing command: NET: : SSH: :Proxy: :ConnectError - command failed: /usr/bin/sss_ssh_knownhostproxy -p 22
Expected outcome:
Expected the command to pass and not fail
Foreman and Proxy versions:
foreman 1.24.3
Foreman and Proxy plugin versions:
Distribution and version:
CentOS 7
Other relevant data:
I looked up error on Red Hat -When we run the sss_ssh_knownhostsproxy command, it shows the same “Reverse lookup failed” error. When we remove the ProxyCommand option from /etc/ssh/ssh_config, the connection works
I did as suggested and it did not help.