- 向导:选/建主机(实时连通测试,可重试)→ 选/建隧道(端口智能默认)→ 立即前台运行 - install.sh 结尾 exec 进入向导(stdin 从 /dev/tty 读,兼容 curl|bash) - cli.py 抽出 run_foreground 供 start 与向导复用;修复向导新建隧道分支不可达
28 lines
855 B
JSON
28 lines
855 B
JSON
{
|
|
"hosts": [
|
|
{
|
|
"id": "a6a8a6f5",
|
|
"name": "本机向导测试",
|
|
"hostname": "127.0.0.1",
|
|
"port": 2222,
|
|
"username": "test",
|
|
"auth": "password",
|
|
"password": "dpapi:AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAzni2ki6QM0W9HV1ipBcLPAAAAAACAAAAAAAQZgAAAAEAACAAAACEzy/56phqkFnZG+3rc7ODinJyOOszrzskmLsWLohEWgAAAAAOgAAAAAIAACAAAACnk3P/9dav98TxOrMZyz8+CyC0aSS0C3sRghY/u+4JZxAAAAAIPCoTBD+yaT1EUVFGwNITQAAAAMxgRjPaPFHuN2v7CwkgmCKMaCAE1oA0m+vDi1dujjEZJd/yT45VkRe9REH1V95/5CJLhDzf2cp2HY04WgxDMlU=",
|
|
"key_path": "",
|
|
"key_passphrase": "",
|
|
"note": ""
|
|
}
|
|
],
|
|
"tunnels": [
|
|
{
|
|
"id": "5005e5b2",
|
|
"name": "向导隧道",
|
|
"host_id": "a6a8a6f5",
|
|
"local_port": 13003,
|
|
"remote_host": "127.0.0.1",
|
|
"remote_port": 3210,
|
|
"autostart": false,
|
|
"autoreconnect": true
|
|
}
|
|
]
|
|
} |