![Forrest logo](/images/logo.png)
qm-sendkey:tldr:64332
qm-sendkey: Send the specified key event to a specific virtual machine.
$ qm sendkey ${vm_id} ${key}
try on your machine
This command sends a keyboard key event to a virtual machine identified by ${vm_id} using the qm utility.
- "qm" refers to the Proxmox VE qm command-line tool, which is used to manage virtual machines.
- "sendkey" is the subcommand of qm, indicating the action of sending a key event.
- "${vm_id}" is a placeholder for the virtual machine ID, which should be replaced with the actual ID of the target virtual machine.
- "${key}" is a placeholder for the specific key that you want to send as an event. It can be any valid keyboard key, such as letters, numbers, special characters, or function keys.
For example, if you have a virtual machine with ID 100 and you want to send the letter 'A' as a key event, you would execute the command as follows:
qm sendkey 100 A
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.