Skip to content
Vaulthalla LogoVaulthalla

vh device

Reference for vh device - pair, approve, rename, scope and revoke Vaulthalla Desktop devices, and open the device listener to other hosts.

vh device pairs Vaulthalla Desktop with your account. A paired device acts as your account, with your permissions, narrowed by its scope. --all and remote are for super admins. See Paired Devices and Direct Device Connections.

1vh device pair                                   # open a 10-minute pairing window and approve by number matching2vh device pair --json                            # only open it; print its expiry, device port, node id and server key3vh device pending4vh device approve 7f3a9c1d2e4b6a80 --code 4829135vh device list [--all] [--json]6vh device rename 3 "Studio Mac"7vh device scope 3 read8vh device revoke 3

Commands

vh device
CommandArgumentsAliasesEffectSummary
writeOpen a 10-minute pairing window for your account.
requestsreadList the devices waiting in your pairing window, each with three codes to choose from.
<request>writeApprove a pairing request with the code the device shows.
<request>writeDeny a pairing request; the device is told it was declined.
lsreadList your paired devices (revoked ones included); --all lists every user's (super admins).
<device> <name>writeRename a device.
<device>unpairdestructiveUnpair a device.
<device> <scope>writeChange what a device may do: read, write or destructive (full: no limit beyond your account's own).
readWhat each device scope allows, from the contract the daemon enforces: the ws commands, the MCP tools and vh commands an agent on the device may run, and the HTTP lanes.
Whether devices on other hosts may connect (super admins).

vh device pair

vh device pair [--close] [--any] [--json]
vh device pair
OptionAliasesTypeDefaultSummary
flagClose your pairing window instead.
flagWith --close: close whoever's window is open (super admins).
-jflagOpen the window without waiting and print it as JSON.

vh device pending

vh device pending [--json]
vh device pending
OptionAliasesTypeDefaultSummary
-jflagOutput in JSON format.

vh device approve

vh device approve <request> [--code <code>] [--scope <scope>]
vh device approve
OptionAliasesTypeDefaultSummary
codeThe six-digit code the device shows (number matching).
scopeWhat the device may do: read, write or destructive (default: what it asked for, else destructive).

vh device deny

vh device deny <request>

vh device list

vh device list [--all] [--json]
vh device list
OptionAliasesTypeDefaultSummary
-aflagEvery user's devices (super admins only).
-jflagOutput in JSON format.

vh device rename

vh device rename <device> <name>

vh device revoke

vh device revoke <device>

vh device scope

vh device scope <device> <scope>

vh device scopes

vh device scopes [--scope <scope>] [--json]
vh device scopes
OptionAliasesTypeDefaultSummary
scopeOnly this scope: read or write.
-jflagOutput in JSON format.

vh device remote

The device listener answers on loopback until remote is on. enable rebinds it to every interface at once and writes device_server.remote in config.yaml.

vh device remote
CommandArgumentsAliasesEffectSummary
readShow where the device listener listens and the server key's pin.
onwriteLet devices on other hosts connect: the listener rebinds to every interface now and stays that way across restarts and upgrades.
offdestructiveBack to loopback only; device sessions from other hosts close.

vh device remote status

vh device remote status [--json]
vh device remote status
OptionAliasesTypeDefaultSummary
-jflagOutput in JSON format.

vh device remote enable

vh device remote enable

vh device remote disable

vh device remote disable