added additional functions

This commit is contained in:
Arctic 2025-03-07 06:08:30 -06:00
parent 1e55abf811
commit 67a5534246
8 changed files with 654 additions and 107 deletions

View file

@ -1,10 +1,21 @@
# SSH Hosts Configuration (Example)
python -m ssh_manager
This table provides an example of SSH host configurations.
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 |
+-------+------------+--------+--------+------------+--------------+------------------------+
| No. | Host | User | Port | HostName | IP Address | IdentityFile |
|---- |----------|--------|------|-----------------|--------------|--------------------------------------|
| 1 | server1 | user1 | 22 | host1.example.com | 192.168.1.10 | N/A |
| 2 | server2 | user1 | 22 | host2.example.com | 203.0.113.10 | N/A |
| 3 | server3 | user1 | 22 | host3.example.com | 10.0.0.5 | ~/.ssh/conf/server3/id_ed25519 |
| 4 | server4 | user1 | 22 | host4.example.com | 10.0.0.6 | ~/.ssh/conf/server4/id_ed25519 |
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):