SSH Tunnel Manager GUI



A modern, user-friendly desktop application for managing SSH tunnels with ease.
Overview
The SSH Tunnel Manager simplifies creating, managing, and executing SSH tunnels through an intuitive Graphical User Interface (GUI). Built with Python and PyQt6, it allows for easy configuration of connection profiles, port forwarding, and tunnel control.
Getting Started
There are a couple of easy ways to get started with SSH Tunnel Manager:
1. Download Executable (Recommended)
The easiest way to use the application is to download a pre-built executable for your operating system.
- Go to the Releases page.
- Download the latest executable for your system (Windows, macOS, or Linux).
- Run the downloaded application. No installation is typically required.
2. Install with pip (Cross-Platform)
If you have Python and pip installed, you can install the SSH Tunnel Manager GUI directly from PyPI:
pip install ssh-tunnel-manager-gui
Then, you should be able to run it from your terminal (the exact command might depend on your system's PATH configuration, often it's ssh-tunnel-manager-gui
).
Key Features
- Intuitive Profile Management: Save, load, and manage multiple SSH connection profiles.
- Easy Port Forwarding: Configure multiple local-to-remote port mappings per profile.
- Simple Tunnel Control: Start/stop tunnels with a click. Copy the underlying SSH command.
- Real-time Status: Clear visual feedback on tunnel status (Idle, Starting, Running, Stopped, Errors).
- Automatic Persistence: Profiles are saved to
~/.config/ssh_tunnel_manager/config.json
.
Configuration
Once the application is running:
- Server: Enter the SSH server address (
user@hostname
).
- SSH Port: Specify the SSH server port (defaults to 22).
- SSH Key File: (Optional) Path to your SSH private key (tilde
~
expansion supported).
- Port Forwarding: Add/remove
Local Port
to Remote Port
mappings.
- Profiles: Save, load, or delete configurations. Changes are auto-saved.
Application data is stored in ~/.config/ssh_tunnel_manager/config.json
.
For Developers
If you want to contribute or run the latest development version:
Running from Source
- Clone the repository:
git clone https://github.com/NtWriteCode/ssh-tunnel-manager.git
cd ssh-tunnel-manager
- Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python -m ssh_tunnel_manager.main
(Note: I've assumed python -m ssh_tunnel_manager.main
as a common way to run GUI apps from a package structure. If your entry point is just python main.py
at the root, please adjust or let me know.)
Requirements (for running from source)
- Python 3.x
- PyQt6 (
PyQt6>=6.0.0
)
typing-extensions>=4.0.0
- An SSH client installed and available in your system's PATH (e.g., OpenSSH).
Building from Source
The project uses PyInstaller. The GitHub Actions workflow (.github/workflows/main-build.yml
) handles release builds.
To build manually:
Contributing
Contributions are welcome! Please fork the repository, create a feature branch, commit your changes, and open a pull request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
)
- Commit your Changes (
git commit -m 'Add some AmazingFeature'
)
- Push to the Branch (
git push origin feature/AmazingFeature
)
- Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.