# How is .ssh directory passed in Navigator?

**URL:** <https://forum.ansible.com/t/how-is-ssh-directory-passed-in-navigator/39689>\
**Category:** Get Help\
**Tags:** ansible-navigator, ee\
**Created:** [January 18, 2025, 1:11pm UTC](https://forum.ansible.com/t/how-is-ssh-directory-passed-in-navigator/39689 "2025-01-18T13:11:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giffly](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/giffly/32/7249_2.png) [@Giffly](https://forum.ansible.com/u/Giffly)\
**Post date:** [January 18, 2025, 1:11pm UTC](https://forum.ansible.com/t/how-is-ssh-directory-passed-in-navigator/39689/1 "2025-01-18T13:11:05Z")

</div>

Hi! I’m trying to understand how Ansible Navigator works, and I’ve got a question about the .ssh directory. I know it’s mounted automatically when running Navigator with an Execution Environment (EE), but I couldn’t find where exactly this happens in the code. When I adding the option --container-options=“–volume=/dev/null:/root/.ssh:ro” it is passed as kwargs to CommandAsync(), but during execution, self.runner returns an error.  
Can someone explain at what stage the .ssh directory gets mounted?

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [January 18, 2025, 1:49pm UTC](https://forum.ansible.com/t/how-is-ssh-directory-passed-in-navigator/39689/2 "2025-01-18T13:49:14Z")

</div>

[ansible-runner](https://github.com/ansible/ansible-runner/) does the actual job of starting the container. My guess is that the relevant starting point to find the right place is [ansible-runner/src/ansible\_runner/utils/\_\_init\_\_.py at ec628a36072a0f573d162e48c7a464019aec3cd9 · ansible/ansible-runner · GitHub](https://github.com/ansible/ansible-runner/blob/ec628a36072a0f573d162e48c7a464019aec3cd9/src/ansible_runner/utils/ __init__.py#L469-L470).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [February 17, 2025, 1:49pm UTC](https://forum.ansible.com/t/how-is-ssh-directory-passed-in-navigator/39689/3 "2025-02-17T13:49:45Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
