A script made for managing my SSH hosts and keys
Find a file
2025-03-08 00:43:33 -06:00
.gitignore converted into multifile for ease 2025-03-07 04:08:40 -06:00
__init__.py converted into multifile for ease 2025-03-07 04:08:40 -06:00
__main__.py converted into multifile for ease 2025-03-07 04:08:40 -06:00
add_host.py added additional functions 2025-03-07 06:08:30 -06:00
cli.py refactored code 2025-03-08 00:43:33 -06:00
config.py converted into multifile for ease 2025-03-07 04:08:40 -06:00
edit_host.py refactored code 2025-03-08 00:43:33 -06:00
list_hosts.py refactored code 2025-03-08 00:43:33 -06:00
README.md added additional functions 2025-03-07 06:23:43 -06:00
regen_key.py refactored code 2025-03-08 00:43:33 -06:00
remove_host.py refactored code 2025-03-08 00:43:33 -06:00
utils.py refactored code 2025-03-08 00:43:33 -06:00

python -m ssh_manager

SSH Conf Subdirectory Host List
+-------+------------+--------+--------+------------+--------------+------------------------+
|   No. | Host       | User   |   Port | HostName   | IP Address   | Conf Directory         |
+=======+============+========+========+============+==============+========================+
|     1 | example_1  | user_1 |     22 | 10.0.0.6   | 10.0.0.6     | ~/.ssh/conf/example_1  |
+-------+------------+--------+--------+------------+--------------+------------------------+
|     3 | example_2  | user_1 |     22 | 10.0.0.6   | 10.0.0.6     | ~/.ssh/conf/example_1  |
+-------+------------+--------+--------+------------+--------------+------------------------+
|     3 | example_3  | user_2 |   2222 | 10.0.0.6   | 10.0.0.6     | ~/.ssh/conf/example_1  |
+-------+------------+--------+--------+------------+--------------+------------------------+

SSH Config Manager Menu
1. List Hosts
2. Add a Host
3. Edit a Host
4. Regenerate Key
5. Remove Host
6. Exit
Select an option (1-6):