add:初次提交

This commit is contained in:
2026-04-21 15:38:57 +08:00
commit 67f7a95fef
290 changed files with 5971 additions and 0 deletions

37
ssh/manifest.json Normal file
View File

@@ -0,0 +1,37 @@
{
"version": "215",
"requires": {
"cockpit": "138"
},
"priority": 100,
"bridges": [
{
"match": { "session": "private", "user": null, "host": null },
"environ": [ "COCKPIT_SSH_CONNECT_TO_UNKNOWN_HOSTS=true",
"COCKPIT_PRIVATE_${channel}=${channel}" ],
"spawn": [ "/usr/lib/cockpit/cockpit-ssh", "${user}@${host}" ],
"timeout": 30,
"problem": "not-supported"
},
{
"match": { "session": "private", "host": null },
"environ": [ "COCKPIT_SSH_CONNECT_TO_UNKNOWN_HOSTS=true",
"COCKPIT_PRIVATE_${channel}=${channel}" ],
"spawn": [ "/usr/lib/cockpit/cockpit-ssh", "${host}" ],
"timeout": 30,
"problem": "not-supported"
},
{
"match": { "user": null, "host": null },
"spawn": [ "/usr/lib/cockpit/cockpit-ssh", "${user}@${host}" ],
"timeout": 30,
"problem": "not-supported"
},
{
"match": { "host": null },
"spawn": [ "/usr/lib/cockpit/cockpit-ssh", "${host}" ],
"timeout": 30,
"problem": "not-supported"
}
]
}