ssh_shell_send
Send input to an active SSH shell session with dangerous command detection and optional raw mode. Supports timeout and sensitive input redaction for secure remote administration.
Instructions
Envía input a una sesión de shell activa. Si raw es false (default), aplica detección de comandos peligrosos. Retorna el output generado tras enviar el input
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ID de la sesión de shell | |
| input | Yes | Texto a enviar a la shell (se agrega \n automáticamente si raw es false) | |
| raw | No | Si es true, envía el input tal cual sin agregar \n ni aplicar detección de comandos peligrosos (default: false) | |
| timeout | No | Tiempo en ms para esperar output después de enviar (default: 2000) | |
| confirm | No | Confirmar ejecución de comandos peligrosos. Solo aplica cuando raw es false | |
| sensitive | No | Si es true, el input se registra como [REDACTED] en el audit log. Usar cuando se envíen contraseñas u otros secretos |