Commit Graph

3 Commits

Author SHA1 Message Date
Bas Nijholt
77857d49ad fix: Explicitly disable SSH agent when using dedicated keys (#176)
Some checks failed
CI / browser-tests (push) Has been cancelled
CI / lint (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Update README.md / update_readme (push) Has been cancelled
CI / test (macos-latest, 3.11) (push) Has been cancelled
CI / test (macos-latest, 3.12) (push) Has been cancelled
CI / test (macos-latest, 3.13) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13) (push) Has been cancelled
asyncssh defaults to querying SSH_AUTH_SOCK even when client_keys are
provided. If the agent socket is stale or broken (common with forwarded
agents in Docker/NAS environments), this causes a ConnectionResetError
that crashes the connection before the dedicated key is even tried.

Set agent_path=None when dedicated compose-farm keys exist so asyncssh
skips the agent entirely. The agent fallback path (when no dedicated
keys exist) is unchanged.
2026-02-19 20:40:15 -08:00
Bas Nijholt
9bdcd143cf Prioritize dedicated SSH key over agent (#133) 2025-12-24 22:34:53 -08:00
Bas Nijholt
282de12336 feat(cli): Add ssh subcommand for SSH key management (#22) 2025-12-18 11:58:33 -08:00