# SSH using id\_rsa

**URL:** <https://forum.ansible.com/t/ssh-using-id-rsa/29865>\
**Category:** Ansible Developer\
**Created:** [March 12, 2019, 9:17am UTC](https://forum.ansible.com/t/ssh-using-id-rsa/29865 "2019-03-12T09:17:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillermo\_Colmena](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@Guillermo\_Colmena](https://forum.ansible.com/u/Guillermo_Colmena)\
**Post date:** [March 12, 2019, 9:17am UTC](https://forum.ansible.com/t/ssh-using-id-rsa/29865/1 "2019-03-12T09:17:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Guillermo\_Colmena](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@Guillermo\_Colmena](https://forum.ansible.com/u/Guillermo_Colmena)\
**Post date:** [March 13, 2019, 10:03am UTC](https://forum.ansible.com/t/ssh-using-id-rsa/29865/2 "2019-03-13T10:03:51Z")

</div>

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

BR,  
Guille

---

<div class="post-metadata">

**Author:** ![saeed\_ahmed](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@saeed\_ahmed](https://forum.ansible.com/u/saeed_ahmed)\
**Post date:** [March 20, 2019, 2:38pm UTC](https://forum.ansible.com/t/ssh-using-id-rsa/29865/3 "2019-03-20T14:38:22Z")

</div>

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