# Can you use a Bastion Host / Jump Host without an ssh key for network device access in AWX?

**URL:** <https://forum.ansible.com/t/can-you-use-a-bastion-host-jump-host-without-an-ssh-key-for-network-device-access-in-awx/33350>\
**Category:** AWX Project\
**Tags:** aws, awx\
**Created:** [July 8, 2020, 8:40pm UTC](https://forum.ansible.com/t/can-you-use-a-bastion-host-jump-host-without-an-ssh-key-for-network-device-access-in-awx/33350 "2020-07-08T20:40:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emil\_Safonov](https://avatars.discourse-cdn.com/v4/letter/e/8e7dd6/32.png) [@Emil\_Safonov](https://forum.ansible.com/u/Emil_Safonov)\
**Post date:** [July 8, 2020, 8:40pm UTC](https://forum.ansible.com/t/can-you-use-a-bastion-host-jump-host-without-an-ssh-key-for-network-device-access-in-awx/33350/1 "2020-07-08T20:40:32Z")

</div>

Hey All,

I recently gotten my AWX instance up and running in an AWS environment. I was wondering if anyone knew how to setup access to a jump host to access network devices without an ssh key for authentication with the jump host. I have it working when running manually by inserting the line: ansible\_ssh\_common\_args: -o ProxyCommand=“sshpass -p ‘password’ ssh -W %h:%p [username]@[ip-address] -p [port]” in my group\_vars/all.yml file. I’ve read that we can enter the same ansible\_ssh\_common\_args line into the awx\_task container, however I don’t want to expose users passwords to the bastion host that way. It doesnt seem like there is a playbook-level way to allow a user to use their credentials to log into a network device through a bastion host that I can find without using sshpass. Anyone run into this before?

Thanks!
