Install your node
The node is the machine on your network where Sugardaddy runs: the console, the sensor and the updater. In Cloud you don't need to type commands by hand: when you sign up, SeguridadSI gives you an install line that does everything.
Install
-
SeguridadSI gives you a line like this:
curl -fsSL https://…/install/<release> -o "$HOME/.sugardaddy-install.sh" && echo "<sha256> $HOME/.sugardaddy-install.sh" | sha256sum -c && sudo bash "$HOME/.sugardaddy-install.sh" https://…/instalar/<code> && rm -f "$HOME/.sugardaddy-install.sh"and, separately (by phone or text message), a 6-digit PIN. The line works only once, expires after 24 hours and does nothing without the PIN. If it expires, ask for another.
-
Paste it on your machine and run it. It downloads the installer, checks that it is the published one (its SHA-256 is in the line itself) and only then runs it. The installer checks the signature of the release it is about to install and then asks for the PIN; if you mistype it, it asks again. After 5 wrong PINs the line stops working and you need a new one. Then the installation:
- installs Docker if it is missing;
- generates the node's secrets the first time;
- starts the console, the sensor and the updater;
- enrolls the node with SeguridadSI, which provides its license and updates.
-
Within a minute your console is available at
https://<the agreed name>. To sign in, follow Sign in to the console.
To install without anyone at the keyboard (with Ansible, for example), put the PIN in
SUGARDADDY_PIN, after sudo:
… && sudo SUGARDADDY_PIN=<PIN> bash "$HOME/.sugardaddy-install.sh" https://…/instalar/<code> && …
Opening the line in a browser, or a chat app showing a preview of it, does not use it up: what it downloads holds no credentials. It is used up when someone runs it and types the right PIN.
If the installer says that what Central sent is not signed or is not the one in the signed release, stop: do not look for another way to install. Tell SeguridadSI.
If you don't have a Linux machine handy
- Sugardaddy virtual machine, if your plan includes it: for Hyper-V, VMware or Proxmox. You download it, verify its fingerprint, start it and enroll it by typing on its screen the code SeguridadSI gives you and then the PIN.
- If you already have Community installed, there is no need to reinstall: SeguridadSI gives you an enrollment code and you paste it in your console's Settings.
The license
Cloud decoys and alerts turn on with your license. The node receives it on its own, on every contact with SeguridadSI (every minute). If it stays offline for a long time, or you stop the service, the license eventually expires. Detection does not stop when it expires: every decoy you already have deployed keeps running and sending events, including after a restart of the decoy or of the machine, until the run-until date written in the license (six months after it expires, unless your contract sets another date). What an expired license stops is new Cloud decoys and changes to the ones you have, until it is renewed. After the run-until date, Cloud decoys no longer start. Community decoys don't depend on it.
Both dates are signed by SeguridadSI inside the license, so nobody can extend them from the machine. Your console shows them in Settings → Central: "Decoys keep running until …".
Before that date, Cloud decoys only stop if SeguridadSI revokes the license: an explicit, signed notice that reaches your node on its next contact and is recorded in its activity log. It is not done when a contract ends normally, so that you can leave the service without losing detection while you replace it.
