rport_ssh_exec
Create an SSH tunnel to a Pi and execute remote commands with sudo and pipe support, using credentials from environment variables. Optionally keep the tunnel open after execution.
Instructions
Crea un t�nel SSH en RPort y ejecuta un comando en la Pi con usuario pi o queo. El password sale de RPORT_SSH_PASSWORD en .env (nunca lo pidas en el chat). Permite pipes y sudo en la shell de la Pi, a diferencia de rport_exec_command. Cierra el t�nel al terminar salvo keep_tunnel=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Si se omite, prueba pi y luego queo | |
| command | Yes | Comando remoto, p.ej. whoami; docker ps | |
| client_id | Yes | ||
| keep_tunnel | No | Dejar el t�nel abierto | |
| timeout_sec | No |