ejecutar_comando
Runs shell commands on a remote Linux server over SSH and returns exit code, stdout, and stderr; use non-interactive flags for prompts.
Instructions
Ejecuta un comando de shell en el servidor y devuelve código de salida, stdout y stderr.
No es interactivo: comandos que piden datos (contraseñas, confirmaciones, editores) fallan o se cancelan al agotar el tiempo. Usa flags como -y o --no-pager.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comando | Yes | ||
| servidor | Yes | ||
| timeout_segundos | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |