# Jumphost + Ansible

**URL:** <https://forum.ansible.com/t/jumphost-ansible/27050>\
**Category:** Ansible Project\
**Created:** [March 20, 2018, 11:45am UTC](https://forum.ansible.com/t/jumphost-ansible/27050 "2018-03-20T11:45:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke\_Baldan](https://avatars.discourse-cdn.com/v4/letter/l/eada6e/32.png) [@Luke\_Baldan](https://forum.ansible.com/u/Luke_Baldan)\
**Post date:** [March 20, 2018, 11:45am UTC](https://forum.ansible.com/t/jumphost-ansible/27050/1 "2018-03-20T11:45:12Z")

</div>

Hi,

I’ve started my ansible journey and i am impressed so far.

A function i am hoping to utilise is the ability to connect via a jump/bastion host in order to get to my devices i wish to run commands on.  
The issue is that in order to get to a device i want ansible to run commands on, i need to do the following:

**ssh into server1**  
**issue command ‘connect device1’**  
**device1 command prompt appears ready for input**

The documentation i have read seems to only cater for this type of arrangement:

**ssh into server1**  
**ssh into device1**  
**device1 command prompt appears ready for input**

Does anyone have any tips on how to achieve the above behaviour?

Thanks.
