Skip to content

Rocket CLI: A user-friendly command-line tool for managing and launching SSH connections with optional proxy support.

Notifications You must be signed in to change notification settings

Joeri-Abbo/rocket-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocket CLI Tool

Rocket is a command-line interface tool for managing SSH connections. It simplifies the process of adding, launching, and deleting connections.

Installation

  1. Create a virtual environment and activate it:
python3 -m venv venv
source venv/bin/activate
  1. Install the required packages:
2. pip install -r requirements.txt
  1. Make the main.py file executable:
chmod +x main.py
  1. Move and rename the main.py file to /usr/local/bin/rocket:
sudo mv main.py /usr/local/bin/rocket

Now, you can run the Rocket CLI tool by simply typing rocket in the terminal.

Usage

  1. Set the default username:
rocket install
  1. Add a connection:
 rocket add --username <username> --host <host> [--nickname <nickname>] [--through-proxy]
  1. Add a proxy:
rocket add-proxy --username <username> --host <host> [--nickname <nickname>]
  1. Launch a connection:
rocket launch [<nickname>]
  1. Delete all connections and configuration:
rocket delete

Unit Tests

Run the unit tests with:

python -m unittest test_rocket.py

With these changes, users will be able to run the Rocket CLI tool directly from their terminal by typing rocket followed by the desired subcommand.

About

Rocket CLI: A user-friendly command-line tool for managing and launching SSH connections with optional proxy support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages