# NousResearch/hermes-agent · SSH token path hardcoded to wrong directory

## Open now

- Nothing open on GitHub.

These items address a bug where desktop SSH token-path validation resolves against a profile-scoped directory instead of the fixed ~/.hermes/desktop-ssh location, breaking non-default profile configurations. The group covers the bug report and two related fixes targeting the path anchoring logic.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #76400. Verify it addresses your case.
- **Recommended:** read PR #76400 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #69551: Desktop SSH remote mode is broken whenever a non-default profile is active: token-path validation resolves against the profile-scoped HERMES_HOME while the client hardcodes ~/.hermes/desktop-ssh

## Prior & competing PRs

- **#76400: fix(desktop): map SSH profiles to remote profiles (+ token-root anchor for non-default profiles)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/electron/connection-config.test.ts`, `apps/desktop/electron/connection-config.ts`, `apps/desktop/electron/main.ts`, `apps/desktop/electron/remote-lifecycle.test.ts`, `apps/desktop/electron/remote-lifecycle.ts`, `apps/desktop/electron/ssh-bootstrap-coordinator.test.ts`, `apps/desktop/electron/ssh-bootstrap-coordinator.ts`, `apps/desktop/electron/windows-remote-lifecycle.test.ts`, `apps/desktop/electron/windows-remote-lifecycle.ts`, `apps/desktop/src/app/settings/gateway-settings.test.tsx`, `apps/desktop/src/app/settings/gateway-settings.tsx`, `apps/desktop/src/components/boot-failure-reauth.test.ts`, `apps/desktop/src/global.d.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/ja.ts`, `apps/desktop/src/i18n/types.ts`, `apps/desktop/src/i18n/zh-hant.ts`, `apps/desktop/src/i18n/zh.ts`, `contributors/emails/[redacted:email]`, `hermes_cli/main.py` (+2 more)
- **#69601: fix(serve): resolve desktop SSH token-path validation with non-default sticky profiles (#69551)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `621975de8597`, `#76400`, `#69664`
- **#69664: fix(dashboard): anchor the SSH token dir to $HOME/.hermes, not the active profile**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `fd0d1874b`, `#76400`, `#74779`

## Fix status

- Merged to main in PR #76400 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-01`.
- Subsystem: `apps/desktop`
