SSH Portal is a command-line tool designed to simplify the management and connection to virtual machines (VMs) via SSH. This tool provides an intuitive menu-driven interface for users to create, manage, and connect to VMs with ease.
- 🖥️ Create new SSH connections.
- 🔧 Manage existing SSH connections (edit, delete, group).
- 🔐 Connect to VMs using SSH with options for IP address, username, and password or SSH key.
- currently supported SSH keys:
- pem, rsa, dsa, ed25519
- currently supported SSH keys:
- 🐍 Python 3.6+
- 📦
pip
(Python package installer)
git clone https://github.com/PetrGallus/ssh-portal.git
cd SSH-Portal
Create a virtual environment to avoid conflicts with other Python packages.
python3 -m venv venv
Activate the virtual environment.
For Linux/macOS:
source venv/bin/activate
For Windows:
venv\Scripts\activate
Install the required dependencies.
pip install -r requirements.txt
Run the setup script to complete the installation.
python setup.py install
To start the application, run the following command:
python src/main.py
Once the application is running, you will be presented with a menu that allows you to:
[1] Create a new connection [2] Manage existing connections [3] Connect
Follow the prompts to perform the desired actions.
The application uses a configuration file located at src/config/config.yaml
. You can modify this file to set default SSH parameters and other necessary settings for managing your VMs.
Package | Description |
---|---|
paramiko | For SSH connections. |
PyYAML | For parsing YAML configuration files. |
Contributions are welcome! Please feel free to submit a pull request or open an issue for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more details.