osmates remote passkey add
Print a link that adds a passkey; open it on the phone or computer within 10 minutes.
osmates remote passkey add [--json]The tailnet browser must be on and serving. The link works once. Open it in Safari or another current browser on a device in your tailnet, name the passkey and confirm with Face ID, Touch ID or the device's code. The passkey belongs to this Mac's tailnet name: a new name needs new passkeys. osmates remote unpair <name> removes one.
Arguments
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an object with these fields.
JSON Schema: /schemas/0/cli/remote/passkey/add.json
expiresAtstring (date-time)RequiredlinkstringRequiredsitestringRequired
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |