Skip to content

fix: pass jump host config to terminal WebSocket connection#13

Closed
ZacharyZcR wants to merge 1 commit into
Termix-SSH:mainfrom
ZacharyZcR:fix/jump-host-connection
Closed

fix: pass jump host config to terminal WebSocket connection#13
ZacharyZcR wants to merge 1 commit into
Termix-SSH:mainfrom
ZacharyZcR:fix/jump-host-connection

Conversation

@ZacharyZcR
Copy link
Copy Markdown
Member

Summary

  • Fix jump host connections failing on mobile: The jumpHosts field from SSHHost was never passed through to the terminal WebSocket connection. The TerminalHostConfig interface, TerminalProps, and Sessions.tsx all omitted it, so the backend received no jump host data and connections requiring a jump server always failed.

Files Changed

File Change
app/tabs/sessions/terminal/NativeWebSocketManager.ts Add jumpHosts to TerminalHostConfig interface
app/tabs/sessions/terminal/Terminal.tsx Add jumpHosts to TerminalProps.hostConfig
app/tabs/sessions/Sessions.tsx Pass session.host.jumpHosts in Terminal hostConfig prop

Test plan

  • Configure a host with a jump server
  • Connect from the mobile app — should succeed instead of failing
  • Verify direct connections (no jump host) still work normally
  • Verify npx tsc --noEmit shows no new type errors

Fixes Termix-SSH/Support#422

jumpHosts was defined on SSHHost but never included in the
TerminalHostConfig interface or passed through Sessions → Terminal →
NativeWebSocketManager. The backend received no jump host data so
connections that require a jump server always failed on mobile.

Fixes Termix-SSH/Support#422
@ZacharyZcR
Copy link
Copy Markdown
Member Author

Superseded by #15 which includes jumpHosts along with additional missing fields (forceKeyboardInteractive, overrideCredentialUsername).

@ZacharyZcR ZacharyZcR closed this May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Connections with Jump host does not work on Android app

1 participant