TUI for managing SSH port forwarding
Project description
portforwarder
TUI for managing SSH port forwarding tunnels, built with Textual.
Install
uv tool install .
Dev Run (no install)
uv run python -m portforwarder
Usage
portforwarder
Keybindings
| Key | Action |
|---|---|
Space / Enter |
Toggle selected tunnel on/off |
a |
Add new tunnel |
e |
Edit selected tunnel |
d |
Delete selected tunnel |
q |
Quit |
Configuration
All tunnels are saved to ~/.port-forward/config.json. Each entry has:
- Name — display label
- Local Port — port on your machine
- Remote Host — SSH destination (
user@host) - Target Host — host to reach from the remote side
- Remote Port — port on the target host
The SSH command run is:
ssh -N -L <local_port>:<target_host>:<remote_port> <remote_host>
Port Collision
Turning on a tunnel with the same local port as an active one will auto-stop the old tunnel and start the new one. All tunnels are stopped when the TUI closes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file portforwarder-1.0.0.tar.gz.
File metadata
- Download URL: portforwarder-1.0.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86275d817696cdb35a2a8ed5f1089b1880d6892f384ec0b11643e1df7c019db3
|
|
| MD5 |
6e7f1171dfc1f4cbdf02a78e04776869
|
|
| BLAKE2b-256 |
d447064278b690b9bd4fdd71053927e065754e8de1c65dcd2ee2dd38f25bf91e
|
File details
Details for the file portforwarder-1.0.0-py3-none-any.whl.
File metadata
- Download URL: portforwarder-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc76e62e2a16cfa9f78ff59de5b55e58964f62865bc31fca93a84faf3cb7653c
|
|
| MD5 |
0275faf181159001c52794ffdc56bffd
|
|
| BLAKE2b-256 |
392382f81369a59f86cbc111a6158737dcb93cdea3f09c864aff2b210fd706e8
|