Terminal & Self-Repair
Command reference
Every command a customer can run at the appliance console, with syntax, example and expected result.
3 min read
On this page
Run these commands at the local console of the appliance. They need administrator rights (sudo). Over SSH the same actions are in the menus shown in brackets.
Updates and synchronisation
| Command | Purpose | Changes the system |
|---|---|---|
sudo hossidark update status | Installed release and content, last check | No |
sudo hossidark update now --check | Ask Hossidark whether an update exists | No |
sudo hossidark update now | Download, verify and install the released update | Yes |
sudo hossidark update diagnose | Explain why updates cannot reach Hossidark | No |
sudo hossidark update verify <file.hdpkg> | Check an offline package before importing it | No |
Menu: 5 Updates.


When an update fails, the diagnosis runs by itself and ends with NEXT ACTION:


Licence
| Command | Purpose | Changes the system |
|---|---|---|
sudo hossidark licence activate <KEY> | Activate a licence key | Yes |
sudo hossidark licence import <signed-licence.json> | Install a signed licence file (offline sites) | Yes |
sudo hossidark licence lease request [file] | Write an offline lease request | No |
sudo hossidark licence lease import <file> | Install the lease returned by Hossidark | Yes |
sudo hossidark licence transfer prepare | Prepare moving the licence to another appliance | Yes |
Menu: 4 Services → Licence. Every activation runs the same eight checks; nothing is stored unless all pass. Five attempts are allowed per 15 minutes.


Connection to Hossidark
| Command | Purpose | Changes the system |
|---|---|---|
sudo hossidark connect <licence key> | Register the appliance and run the first synchronisation | Yes |
Menu: 1 Communication → Test communication with Hossidark.

SSH terminal access
| Command | Purpose | Changes the system |
|---|---|---|
sudo hossidark-sysctl ssh-doctor | Read-only checklist of SSH access, one fix per failure | No |
sudo hossidark-sysctl ssh-repair | Restore SSH access in one step, then re-run the checklist | Yes |
sudo hossidark-sysctl ssh-unban <IP> | Lift the automatic ban of one address after failed sign-ins | Yes |



Services and system checks
| Command | Purpose | Changes the system |
|---|---|---|
systemctl is-active hossidark hossidark-collector hossidark-sensor | State of the platform services | No |
sudo systemctl restart hossidark | Restart the console service | Yes |
sudo journalctl -u hossidark -n 80 --no-pager | Last messages of the console service | No |
timedatectl status | Clock and time synchronisation | No |
df -h /var/lib/hossidark | Space used by evidence and data | No |
Menu: 4 Services → Platform services.


Menu-only actions
These are available in the menus and have no separate command:
| Action | Menu |
|---|---|
| Back up settings or the whole system, test, verify, restore | 4 Services → Backups |
| Export support bundle | Command palette → support bundle |
| Full health report | 1 Communication |
| Management address, capture interface, connectivity test | 2 Network |
| Update or roll back signatures, measure capture visibility | 3 Capture |
| Change terminal password, SSH keys | 6 Security |
| Restart or shut down the appliance | 4 Services → Power |
Related: Error messages · Diagnose a problem