qm sendkey

Send QEMU monitor encoding key event to a virtual machine. More information: https://pve.proxmox.com/pve-docs/qm.1.html.

qm sendkey {{vm_id}} {{key}}

qm sendkey --skiplock {{true}} {{vm_id}} {{key}}