Devices
Approve a device that asks to join your account.
Approve a device
This screen links a machine to your account. When you run shardio auth login, or shardio up on a new machine, the machine prints a short code. Type that code here and approve it, and the machine joins your account. Its earnings come to you.
- Run
shardio auth loginon the machine you are adding. - Open this screen, type the code it printed under Code, and click Continue.
- Check what the code names, then click Approve.
The code never travels in a link: you always type it yourself. That way nobody can send you a link that approves their machine with one click.
Once approved, the screen says the machine is authorized. The machine notices on its own, so there is nothing more to do here.
Machines need hosting turned on for your account. If it is not, the details of a machine code show locked, with Unlock to ask for access.
See Link it to this account for the whole step.
Approve a device
Type the code the machine printed, then click Continue. Before you approve, read what the code names:
- Machine: the machine's name, the hostname unless you chose another.
- Source address: the network address the request came from.
- Requested: when the code was made.
Only approve if you just ran the command on that machine yourself. Approving lets the machine join your mesh and earn for this account. If you did not start it, do not approve.
If the code is refused:
- "That code is not valid." or "That code is no longer valid.": codes expire after ten minutes. Run
shardio auth loginagain for a new one. - "That code has already been approved.": nothing more to do.
- "Too many attempts.": wait, then try again.
- Shardio could not be reached, or could not authorize the machine: try again in a few minutes.
See shardio auth login in the CLI reference.