# SSH connectivity between control and managed nodes to run ansible playbook

**URL:** <https://forum.ansible.com/t/ssh-connectivity-between-control-and-managed-nodes-to-run-ansible-playbook/39485>\
**Category:** Get Help\
**Created:** [January 7, 2025, 6:06am UTC](https://forum.ansible.com/t/ssh-connectivity-between-control-and-managed-nodes-to-run-ansible-playbook/39485 "2025-01-07T06:06:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanu](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vanu](https://forum.ansible.com/u/vanu)\
**Post date:** [January 7, 2025, 6:06am UTC](https://forum.ansible.com/t/ssh-connectivity-between-control-and-managed-nodes-to-run-ansible-playbook/39485/1 "2025-01-07T06:06:10Z")

</div>

Hi Community,

I’m using ansible version - ansible [core 2.16.3]. Instead of using default ssh (/usr/bin/ssh) path, we configured a new ssh path (/usr/local/bin/ssh), which is blocking ansible playbooks to run from control node to managed nodes. Could you please let me know if this is possible to specify the exact ssh path in the ansible configuration to use the new path? Thank You.

---

<div class="post-metadata">

**Author:** ![matteoclc](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matteoclc/32/7020_2.png) [@matteoclc](https://forum.ansible.com/u/matteoclc)\
**Post date:** [January 7, 2025, 9:31am UTC](https://forum.ansible.com/t/ssh-connectivity-between-control-and-managed-nodes-to-run-ansible-playbook/39485/2 "2025-01-07T09:31:50Z")

</div>

Hi, you can set the ssh\_executable parameter of the SSH connection plugin to whatever you like

[https://docs.ansible.com/ansible/latest/collections/ansible/builtin/ssh\_connection.html](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/ssh_connection.html)

Although, you might also achieve the same result by adjusting the PATH env variable so it is used also by users issuing a SSH command, that is a more consistent approach if you see what I mean.

---

<div class="post-metadata">

**Author:** ![vanu](https://avatars.discourse-cdn.com/v4/letter/v/90db22/32.png) [@vanu](https://forum.ansible.com/u/vanu)\
**Post date:** [January 12, 2025, 1:33am UTC](https://forum.ansible.com/t/ssh-connectivity-between-control-and-managed-nodes-to-run-ansible-playbook/39485/3 "2025-01-12T01:33:03Z")

</div>

Thank you Matt for the quick response.
