A script made for managing my SSH hosts and keys
.gitignore | ||
__init__.py | ||
__main__.py | ||
add_host.py | ||
cli.py | ||
config.py | ||
edit_host.py | ||
list_hosts.py | ||
README.md | ||
regen_key.py | ||
remove_host.py | ||
utils.py |
❯ 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):