# playbook via jumphost

**URL:** <https://forum.ansible.com/t/playbook-via-jumphost/12176>\
**Category:** Ansible Project\
**Created:** [December 31, 2012, 4:50pm UTC](https://forum.ansible.com/t/playbook-via-jumphost/12176 "2012-12-31T16:50:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_McQueen](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@Brian\_McQueen](https://forum.ansible.com/u/Brian_McQueen)\
**Post date:** [December 31, 2012, 4:50pm UTC](https://forum.ansible.com/t/playbook-via-jumphost/12176/1 "2012-12-31T16:50:27Z")

</div>

I’m using the latest Ansible and python 2.7.2. I’ve got my jump host all set via ~/.ssh/config. Ssh connections to my target host work fine. I’ve got an ansible\_hosts line for my target’s hostname, and it matches the hostname in the ssh config file. I’m running the playbook with -c ssh too. For some reason it does not seem to use ssh at all. It does not seem to see the .ssh/config at all, and tries to go directly to the target host - wrong user, no proxy command, no jumphost. What am I missing? I’m running the playbook like this:

ansible-playbook -vvvv -c ssh dev.yml

---

<div class="post-metadata">

**Author:** ![Brian\_McQueen](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@Brian\_McQueen](https://forum.ansible.com/u/Brian_McQueen)\
**Post date:** [December 31, 2012, 5:55pm UTC](https://forum.ansible.com/t/playbook-via-jumphost/12176/2 "2012-12-31T17:55:31Z")

</div>

I have it working now. It seems that I need to specify the user. The user specified in the .ssh/config is not used.

I don’t see any of the verbose debugging lines that show any usage of the jump host. I am sure its being used, but it seems that jumphost data should be included in the verbose output. So I can tell at a glance that its using my ssh/config and its proxying.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [December 31, 2012, 5:56pm UTC](https://forum.ansible.com/t/playbook-via-jumphost/12176/3 "2012-12-31T17:56:38Z")

</div>

you would need very verbose output from ssh, which gets too verbose to be usable

---

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [December 31, 2012, 5:56pm UTC](https://forum.ansible.com/t/playbook-via-jumphost/12176/4 "2012-12-31T17:56:56Z")

</div>

but you should be able to add -vvv to ssh options
