add:初次提交
This commit is contained in:
37
ssh/manifest.json
Normal file
37
ssh/manifest.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user