SSH using id_rsa

Hi Ansible Community,

I have been trying to configure the ssh.cfg and ansible.cfg to be able to access using an id_rsa to connect via ssh to the remote servers. The question comes when I try to configure these 2 config files. Any main steps that are needed to take to make it work?

Files:

  • ssh.cfg
  • ansible.cfg

Thanks a lot,
Kind regards,
Guille

I think my question goes more in the direction of trying to understand how this ssh.cfg works and when is needed.

BR,
Guille

you can store another driver and define a path when accessing it.