--license-lease
- CLI
- --license-lease
- REST
- CLI only
Prints a lease code and waits one minute for confirmation from --license-lease-confirm on a machine with a registered license. Once confirmed, ZShot saves the leased license to the configuration file with the owner’s tier for 30 days, or until the owner’s license expires.
Refuses to overwrite a configuration file that already holds a registered license; existing leases are replaced.
If the code is not confirmed within one minute, ZShot exits the process; run the command again within ten minutes to resume waiting on the same code.
Workspaces without access to the licensing server
When the workspace cannot reach zshot-licensing.com, ZShot prints a lease request and exits the process:
Lease request: ZLR1.eyJ2ZXJzaW9uIjoi…
On a machine with your zshot license, run: zshot --license-lease-confirm ZLR1.eyJ2ZXJzaW9uIjoi…
Then run here the command it prints.Run the printed --license-lease-confirm command on a licensed machine, then run the resulting --license-lease-accept command in the workspace. The lease is bound to the requesting machine.
Example
zshot --license-leaseLease code: ABCD-EFGH
On a machine with your zshot license, run: zshot --license-lease-confirm ABCD-EFGH