Major rewrite to use native ssh command instead of Go SSH library:
BREAKING CHANGE: Now requires ssh command in PATH
Benefits:
- Full SSH feature support including ProxyCommand
- Works with SSH containers and jump hosts
- Supports all SSH authentication methods
- Consistent behavior with terminal SSH
- No more custom SSH client implementation
Changes:
- Port detection now uses 'ssh hostname command'
- Port forwarding uses 'ssh -L localport:localhost:remoteport hostname'
- Connection testing uses native ssh command
- Removed golang.org/x/crypto/ssh dependency
- Updated documentation to reflect SSH compatibility
This fixes issues with SSH containers that require ProxyCommand
and provides full compatibility with user SSH configurations.
Co-authored-by: Ona <no-reply@ona.com>
Major improvements to error handling and debugging:
- Fix program quitting on manual port forwarding errors
- Add comprehensive debug logging for SSH connections
- Improve error handling to show messages instead of quitting
- Add StateStartingForward for better user feedback
- Enhanced SSH client creation with default key loading
- Add --test-connect mode for debugging specific hosts
- Better timeout handling and connection diagnostics
The application now gracefully handles connection failures and
provides helpful error messages instead of crashing.
Co-authored-by: Ona <no-reply@ona.com>
- Interactive TUI for SSH port forwarding
- Reads from ~/.ssh/config for host selection
- Automatic port detection on remote hosts
- Manual port forwarding option
- Graceful error handling and connection timeouts
- Built with Bubble Tea framework
Co-authored-by: Ona <no-reply@ona.com>