Feature Request: Shell Command Execution API

ksl28

Member
Aug 31, 2023
35
4
8
Problem: Currently no way to execute custom shell commands on Proxmox hosts via REST API. Need to gather hardware info like dmidecode -s system-serial-number that isn't available through existing endpoints.

Proposed Solution: Add POST /nodes/{node}/shell endpoint with:

Use Cases: Automated hardware inventory, custom monitoring integration, system diagnostics without SSH.

This would greatly enhance API automation capabilities while maintaining security through proper controls.

Its related to this post - https://forum.proxmox.com/threads/h...hell-commands-on-proxmox-host-via-api.168106/