[All Unifi SSH Commands that You Want to Know — LazyAdmin](https://lazyadmin.nl/home-network/unifi-ssh-commands/)
| Command | Example | Function |
| ----------- | ------------------------------------------- | --------------------------------------- |
| info | `info` | Displays device information |
| set-default | `set-default` | Factory reset device |
| set-inform | `set-inform http://192.168.1.1:8080/inform` | Set URL of the controller for adoption. |
| upgrade | `upgrade https://<firmware-url>.bin` | Upgrade firmware |
| fwupdate | `fwupdate --url https://<firmware-url>.bin` | Update firmware |
| reboot | `reboot` | Reboot the device |
| poweroff | `poweroff` | Shutdown device |
| uptime | `uptime` | Shows device uptime |