Skip to content

feat(rust): SSH tunnel via russh - #2001

Merged
ZhuchkaTriplesix merged 1 commit into
epic/tauri-migrationfrom
issue/1894-ssh-tunnel
Nov 15, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
epic/tauri-migrationfrom
issue/1894-ssh-tunnel

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • russh local port forward (ssh -L parity) for SQL drivers behind a bastion
  • IPC: ssh_tunnel_open / ssh_tunnel_close / ssh_tunnel_list
  • Password + private key (PEM or path) auth; TOFU host key for this slice
  • In-process integration test (echo backend + password bastion)

Test plan

  • cargo test --lib ssh_tunnel::tests
  • Manual: open tunnel to a real bastion, point Postgres at 127.0.0.1:<localPort>

Closes #1894

Add a tunnel registry that dials a bastion (password or private key),
binds an ephemeral localhost port, and relays with direct-tcpip so SQL
drivers can reach private hosts. Includes an in-process bastion+echo
integration test (skip with QUERYA_SKIP_SSH).

Closes #1894
@github-actions github-actions Bot added network Remote install, HTTP download connections Database connections, URI parsing, pools P2 Medium priority / Parity & Refactoring tauri Tauri 2 / apps/tauri migration track rust Rust backend (src-tauri / crates) labels Nov 15, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit f57a9df into epic/tauri-migration Nov 15, 2026
2 of 3 checks passed
@github-actions github-actions Bot added this to the Tauri migration milestone Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connections Database connections, URI parsing, pools network Remote install, HTTP download P2 Medium priority / Parity & Refactoring rust Rust backend (src-tauri / crates) tauri Tauri 2 / apps/tauri migration track

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant