# control\_path not working

**URL:** <https://forum.ansible.com/t/control-path-not-working/19102>\
**Category:** Ansible Project\
**Created:** [August 24, 2015, 9:56pm UTC](https://forum.ansible.com/t/control-path-not-working/19102 "2015-08-24T21:56:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Short](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@Chris\_Short](https://forum.ansible.com/u/Chris_Short)\
**Post date:** [August 24, 2015, 9:56pm UTC](https://forum.ansible.com/t/control-path-not-working/19102/1 "2015-08-24T21:56:17Z")

</div>

I’m using Ansible 1.9.2 on a Mac and can’t get control\_path to work. Here is the excerpt from ansible.cfg:

[ssh\_connection]  
ssh\_args = -o ControlMaster=auto -o Compression=yes -o GSSAPIAuthentication=no -o ControlPersist=1800s  
control\_path = ssh\_control\_path/ansible-ssh-%%h-%%p-%%r

Verbose output when running ansible does not indicate any of the args are being taken. I’m not quite sure what the issue is and am wondering if anyone can help.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [August 24, 2015, 10:40pm UTC](https://forum.ansible.com/t/control-path-not-working/19102/2 "2015-08-24T22:40:02Z")

</div>

if your connection is 'smart' you are probably using paramiko instead  
of ssh, there are several issues with ssh on the Mac, including a  
kernel panic.  
Control path and ssh arguments are not used with paramiko, so I would  
not expect to see them.

---

<div class="post-metadata">

**Author:** ![Chris\_Short](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@Chris\_Short](https://forum.ansible.com/u/Chris_Short)\
**Post date:** [August 25, 2015, 1:53pm UTC](https://forum.ansible.com/t/control-path-not-working/19102/3 "2015-08-25T13:53:49Z")

</div>

Thank you, Brian. I’ll toil with ssh on a Mac for a little with the understanding it’s probably not going to work.
