Files
cockpit_avm/ssh/manifest.json

38 lines
1.2 KiB
JSON
Raw Normal View History

2026-04-21 15:38:57 +08:00
{
"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"
}
]
}