Add new ssh provider type
Lawouach opened this issue · comments
It would be useful in a lot of scenarios to run remote actions/probes over ssh.
Rather than doing this is as a provider. If you are looking to use ssh
, just do as follows:
{
"title": "do stuff over ssh",
"description": "n/a",
"configuration": {
"ssh_host": "127.0.0.1",
"ssh_port": 22,
"ssh_command": "uname -a"
},
"method": [
{
"type": "action",
"name": "run-command-remotely",
"provider": {
"type": "process",
"path": "ssh",
"arguments": "${ssh_host} -p ${ssh_port} ${ssh_command}"
}
}
]
}