Skip to content

feat: support interactive SSH port forwarding#67

Merged
Adembc merged 3 commits intomainfrom
feat/forward
Oct 8, 2025
Merged

feat: support interactive SSH port forwarding#67
Adembc merged 3 commits intomainfrom
feat/forward

Conversation

@Adembc
Copy link
Owner

@Adembc Adembc commented Sep 30, 2025

Summary

This PR introduces quick, interactive SSH port forwarding through keyboard shortcuts, eliminating the need to pre-configure forwarding rules in SSH config files. Users can now set up forwards on-demand directly from the server list.

Features

Keyboard Shortcuts

  • F - Open port forwarding form for the selected server
  • X - Stop all active forwards for the selected server

Forwarding Modes

  • Local (-L) - Forward local port to remote destination
  • Remote (-R) - Forward remote port to local destination
  • Dynamic (-D) - Create SOCKS proxy

Connection Options

  • Forward-only - Port forwarding without shell access (SSH -N flag)
  • Forward + SSH - Port forwarding with interactive shell session

Visual Feedback

  • Active forwards are clearly indicated in the server list UI
  • Real-time status updates when forwards are started/stopped

Benefits

  • No config changes required - Forward ports without editing SSH config
  • Quick iteration - Test different port configurations instantly
  • Multiple forwards - Run multiple forwards per server simultaneously
  • Persistent support - Config-based forwarding still works alongside shortcuts

Screenshot

image

@Adembc Adembc merged commit d4be74b into main Oct 8, 2025
2 checks passed
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.

1 participant