The access guard
Thestout container takes over the Lager ports on the box. It lets a request through only when a signed-in Stout user with access to the box sends it.
Owners and admins have access to every box in the organization. A member has access only to the boxes that an owner or admin assigned to them.
The first time a person runs a Lager CLI command against a secured box, Lager asks them to sign in with lager login. They sign in with the email and password of their Stout account. See Signing In in the Lager docs.
The SSH lockdown
The SSH lockdown makes these changes on the box:- It turns off password logins and root logins.
- It lets only the box account log in over SSH.
- It removes every SSH key that Stout did not install.
Security states
A box is secure when only people with access can use it, and only the keys that Stout manages can log in. The health badge on the box page shows Online only when the box is secure. See Health badge. The Access tab shows a Security card when the box is not secure. The card shows one of these states:
The card also has two lines: Who can use this box and Who can log in over SSH. Each line shows the state of its layer and the fix for a blocked layer.
On the Boxes page, an amber shield in the Health column means that a box needs attention.
These are the usual fixes:
- If the box has no IP address, add one with Edit in the menu of the box.
- If Stout is not healthy on the box, install Stout again.
- If the box account has no passwordless
sudo, fixsudofor that account. The lockdown then continues by itself.
Give people access to a box
A member can use a box only after an owner or admin assigns the box to them. Owners and admins always have access. Box groups do not give access. One assignment covers every way into the box: the dashboard, the Lager CLI, and SSH. Only owners and admins can assign boxes. To give people access:- Open the box, and then select the Access tab.
- In Box Access, select Grant Access.
- Find each person with the search field.
- Select the check box of each person.
- Select Grant access.
Access attempts
Select View access attempts to see the recent attempts that the box turned away. The list shows up to 20 attempts. For a person who is a member of the organization, select Grant to give them access.Uninstall Stout
Uninstalling Stout returns the box to an ordinary Lager setup. Only owners and admins can uninstall Stout.- Open the box, and then select the Settings tab.
- In Stout Daemon, select Uninstall Stout.
- Select Uninstall.
- It turns off the access guard, so Lager uses its own ports again.
- It removes the SSH lockdown, if the box has one.
- It stops and removes the
stoutcontainer, and it deletes the connection settings. - It puts back the secrets file that the box had before Stout. If there was no such file, it deletes the Stout secrets file.
- It removes the SSH keys of the people with access. It keeps the Stout SSH key, so you can install Stout again later.
Add a box
Install Stout on a box.
Locks
Keep other people off a box while you work on it.