ssh: Can't Open user config file, but the file exists

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 2022rnCan’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?

this_is_router,

directory also needs execute permission:

chmod a+x /home/mike/automation/ssh_config

  • All
  • Subscribed
  • Moderated
  • Favorites
  • ansible@lemmy.world
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • tester
  • lostlight
  • All magazines