ssh_exec
Execute remote commands securely over SSH using a private key file. Input host, command, username, and private key path for seamless server management and automation.
Instructions
Execute command over SSH using private key file path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| host | Yes | ||
| privateKeyPath | Yes | ||
| username | Yes |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"type": "string"
},
"host": {
"type": "string"
},
"privateKeyPath": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"host",
"command",
"username",
"privateKeyPath"
],
"type": "object"
}