Request an invite
Docs menu

osmates remote key new

Make a new device key for this Mac; every paired Mac pairs again.

Usage
osmates remote key new [--yes] [--json]

The Macs that may connect here and those this Mac reaches pin the old key, so each pairing goes with it, and their sessions here end with their hold on machines. Without --yes, it asks first.

Arguments

--yes

Do not ask first.

--json

Print machine-readable JSON.

JSON output

With --json, it prints an object with these fields.

JSON Schema: /schemas/0/cli/remote/key/new.json

droppedarray of objectsRequired
dropped[].fingerprintstringRequired
dropped[].idstringRequired
dropped[].namestringRequired
statusobjectRequired
status.cloudstring or objectRequired

One of off, starting, or an object that holds one key: serving or failed.

status.cloudGrantsintegerRequired
status.connectionsintegerRequired
status.deviceKeystring

One of needsPermission, denied, missing, unreadable.

status.fingerprintstring
status.helperRunningbooleanRequired
status.networkListeningbooleanRequired
status.networkProblemstring
status.pairedMacsintegerRequired
status.passkeysintegerRequired
status.reachedMacsintegerRequired
status.settingsobjectRequired
status.tailnetstring or objectRequired

One of off, starting, or an object that holds one key: serving or failed.

status.tokensintegerRequired
status.urlstringRequired

Fields nested deeper are in the schema.

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page