Terminal Service Manager, you can quickly store/connect to service nodes
- Use local database Sqlite as storage node information
- Node information is encrypted with an RSA 2048-bit key
- Fast storage/access to service nodes
- Use Cobra to provide a friendly terminal interaction experience
- Use tablewriter to provide friendly display effect
If you are using linux or mac, you can execute the following command to get the compiled program file
wget https://github.com/muqiuren/tsm/releases/download/v1.0.1/tsm
git clone https://github.com/muqiuren/tsm.git
cd tsm && go mod tidy
go build .
- create terminal node
tsm create -n server1 -s 127.0.0.1 -p 22 -u root -a 'admin123'
- list terminal node
tsm list
Execute the above command, you can see the following output
+----+-----------+---------------+
| ID | 公网IP | 节点名称 |
+----+-----------+---------------+
| 1 | *.*.*.190 | 测试 |
| 2 | *.*.*.41 | xx系统测试服 |
+----+-----------+---------------+
You can quickly enter the node according to the id corresponding to the node
- go to terminal server
tsm go 1
- remove terminal node
tsm remove 1
- more to help
tsm help
@暮秋人, 2022~time.Now
Released under the MIT License