# ansible ssh jump hosts

**URL:** <https://forum.ansible.com/t/ansible-ssh-jump-hosts/11747>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [August 1, 2012, 12:06pm UTC](https://forum.ansible.com/t/ansible-ssh-jump-hosts/11747 "2012-08-01T12:06:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [August 1, 2012, 12:06pm UTC](https://forum.ansible.com/t/ansible-ssh-jump-hosts/11747/1 "2012-08-01T12:06:20Z")

</div>

First off, make sure you are using "-c ssh"

Also, I'd try editing your SSH config file, which Ansible will respect.

The ANSIBLE\_SSH\_ARGS thing is mostly there to override control master settings.

I use paramiko most of the time myself, so perhaps others with this setup can weigh in.

--Michael

---

<div class="post-metadata">

**Author:** ![Alexander\_Skurihin](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Alexander\_Skurihin](https://forum.ansible.com/u/Alexander_Skurihin)\
**Post date:** [August 1, 2012, 12:22pm UTC](https://forum.ansible.com/t/ansible-ssh-jump-hosts/11747/2 "2012-08-01T12:22:34Z")

</div>

Thanks, I will try to hard code ProxyCommand in ssh config.
