Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf

Hi Team,

I often end with the following error in AWX job execution {
“unreachable”: true,
“msg”: “Failed to connect to the host via ssh: Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf”,
“changed”: false

kindly assist on this please


First off, I moved your post in Get Help section, which seems more suited to what you’re looking for (@gwmngilfen Hope that’s ok).

Error message seems pretty clear to me; have you checked ownership and ACL on “/etc/ssh/ssh_config.d/50-redhat.conf” file ? File should be owned by the user running commands through ssh, and permissions should be 0600 or 0644 IIRC.

1 Like

Hello @nx2804,
Congratulations on your first post, and welcome!

We wanted to gather a bit more information from you in order to better assist you. What EE image are you using in this situation? This will better help us understand what may be occurring here.

Thank you for your time!