proxmox-execute-container-command
Execute shell commands inside a running LXC container on Proxmox via SSH and pct exec. Specify node, container ID, and command to run directly.
Instructions
Execute a shell command inside a running LXC container via SSH + pct exec. Uses SSH key to connect to the Proxmox node and runs 'pct exec -- ' inside the container. Requires the container to be running. Configure SSH via PROXMOX_SSH_KEY_PATH, PROXMOX_SSH_USER, PROXMOX_SSH_PORT environment variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Proxmox node name (e.g. 'pve', 'pve1') | |
| vmid | Yes | Container ID (e.g. 110, '110') | |
| command | Yes | Shell command to run inside the container |