LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

qm-sendkey

Send key events to a Proxmox VM

TLDR

Send a key event to a virtual machine
$ qm sendkey [vmid] ctrl-alt-delete
copy
Send a single key to a VM
$ qm sendkey [vmid] ret
copy
Send a key event ignoring locks (root only)
$ qm sendkey --skiplock [vmid] [key]
copy

SYNOPSIS

qm sendkey [options] vmid key

DESCRIPTION

qm sendkey sends a QEMU monitor encoding key event to a running virtual machine. This is useful for sending keyboard input such as `ctrl-alt-delete` or function keys directly to the VM console without needing graphical access.Key names follow QEMU monitor encoding: alphanumeric characters are written literally, special keys use names like `ret`, `esc`, `tab`, `spc`, `f1`–`f12`, `up`, `down`, `left`, `right`, and modifier combinations use hyphens (e.g. `ctrl-alt-delete`, `meta_l-r`).

PARAMETERS

vmid

The unique VM ID (integer between 100 and 999999999).
key
Key name in QEMU monitor encoding format (e.g. `ctrl-alt-delete`, `ret`, `esc`, `f1`, `meta_l-r`).
--skiplock boolean
Ignore VM locks and force key send. Requires root privileges.

INSTALL

sudo dnf install qm
copy

CAVEATS

Key encoding follows QEMU monitor format, not standard key names. The --skiplock option requires root privileges.

HISTORY

Part of Proxmox VE QEMU/KVM management tools for virtual machine administration.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid