# Where do I change OOD\_SSH\_HOSTS to allow choice of cluster or default when opening file in files app

**URL:** <https://discourse.openondemand.org/t/where-do-i-change-ood-ssh-hosts-to-allow-choice-of-cluster-or-default-when-opening-file-in-files-app/1294>\
**Category:** Get Help\
**Created:** [January 27, 2021, 2:40pm UTC](https://discourse.openondemand.org/t/where-do-i-change-ood-ssh-hosts-to-allow-choice-of-cluster-or-default-when-opening-file-in-files-app/1294 "2021-01-27T14:40:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsettlag](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rsettlag/32/78_2.png) [@rsettlag](https://discourse.openondemand.org/u/rsettlag)\
**Post date:** [January 27, 2021, 2:40pm UTC](https://discourse.openondemand.org/t/where-do-i-change-ood-ssh-hosts-to-allow-choice-of-cluster-or-default-when-opening-file-in-files-app/1294/1 "2021-01-27T14:40:09Z")

</div>

I am wanting to either change the default cluster choice or present choices when choosing to open a file via the files app.

I see this thread showing how to add a choice:

> [@Is there any way to add a cluster choice to File Explorer's "Open in terminal Menu"?](https://discourse.openondemand.org/t/is-there-any-way-to-add-a-cluster-choice-to-file-explorers-open-in-terminal-menu/364/3):
>
> An example implementation: [https://github.com/OSC/ood-fileexplorer/pull/201](https://github.com/OSC/ood-fileexplorer/pull/201).

I am having trouble finding the file pointed out as the one to make a change in the above thread:  
`OOD_SSH_HOSTS` needs to be set in `/etc/ood/config/apps/files/env`

What file should I change? Allowing choice of cluster is ideal, but simply changing the default would suffice.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [January 27, 2021, 8:37pm UTC](https://discourse.openondemand.org/t/where-do-i-change-ood-ssh-hosts-to-allow-choice-of-cluster-or-default-when-opening-file-in-files-app/1294/2 "2021-01-27T20:37:21Z")

</div>

Looks this is the behaviour

- When nothing is specified in the `files/env` file you’ve linked for the files app it’ll redirect to `/pun/sys/shell/ssh/default/` whatever the default value for the _shell_ app is. To reconfigure _it’s_ default set `OOD_DEFAULT_SSHHOST` in `/etc/ood/config/apps/shell/env` (the variable name is just `DEFAULT_SSHHOST` in 1.7 and below).
- If you set `OOD_SSH_HOSTS` in `files/env` to even to 1 variable, you’ll still get a dropdown with only 1 selection. So here you can have multiple choices but no default as it’s not a button anymore it’s a list.

It sounds like you want the choice so you’d go with option 2 and the solution provided in the other topic will work.

---

<div class="post-metadata">

**Author:** ![krishmoodbidri](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/krishmoodbidri/32/196_2.png) [@krishmoodbidri](https://discourse.openondemand.org/u/krishmoodbidri)\
**Post date:** [April 2, 2021, 2:58pm UTC](https://discourse.openondemand.org/t/where-do-i-change-ood-ssh-hosts-to-allow-choice-of-cluster-or-default-when-opening-file-in-files-app/1294/3 "2021-04-02T14:58:27Z")

</div>

We developed a self registration app, and deployed it on Bright’s Cod cluster as our prod beta test, and it seems that slurm isn’t a default module loaded. It works fine when open the web terminal and load it, but throws errors while running. a job via the job composer, or loading any interactive apps. Attached screenshots re.this

 ![Screen Shot 2021-04-02 at 9.56.28 AM](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/3c1fba19e81ed20209e01450517342daf16441e9.png)

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:42pm UTC](https://discourse.openondemand.org/t/where-do-i-change-ood-ssh-hosts-to-allow-choice-of-cluster-or-default-when-opening-file-in-files-app/1294/4 "2022-05-26T15:42:57Z")

</div>


