A simple CLI tool for managing your SSH connections.
SSH Manager allows you to easily add, list, delete, and open SSH connections through a command-line interface. This tool is designed to streamline SSH management, making it easier to work with multiple servers or remote machines.
Clone the repository and install the tool:
$ git clone https://github.com/edutra/ssh_manager
$ cd ssh_manager
$ cargo build --release
The general command format for SSH Manager is:
$ ssh_manager <COMMAND>
-
add
Add a new SSH connection. You will be prompted to enter the name and details of the connection.$ ssh_manager add <NAME> <HOST> <PORT> <USERNAME>
-
list
List all saved SSH connections.$ ssh_manager list
-
delete
Delete an SSH connection by its name.$ ssh_manager delete <NAME>
-
open
Open an SSH connection by its name.$ ssh_manager open <NAME>
-
help
Print help information for the available commands.$ ssh_manager help
-h
,--help
Print help for the tool or the specific subcommand.
To add a new SSH connection:
$ ssh_manager add name foo.bar 6969 myUser
To connect to name
:
$ ssh_manager open name
Contributions are welcome! Feel free to submit a pull request or open an issue for suggestions or bug reports.
This project is licensed under the MIT License. See the LICENSE file for more details.