I’ve just moved all my ansible control to a new host, but when I try to run a playbook that worked on the old host, I’m getting this error:
"msg": "Failed to connect to the host via ssh: OpenSSH_9.0p1 Ubuntu-1ubuntu7.1, OpenSSL 3.0.5 5 Jul 2022\r\nCan't open user config file /home/mike/automation/ssh_config: No such file or directory",
The directory exists, it has rw-r–r-- permissions, if I run ssh -F it works fine, but if I manually run the sshpass command it gets the same error, any ideas what might be causing this?
0 points
directory also needs execute permission:
chmod a+x /home/mike/automation/ssh_config