Home → Ubiquiti → SSH Commands → Common Commands
Connect to Device:
ssh user@ip
Display Help:
Hit tab twice once connected
Info
Info Displays current Ip address, MAC, Inform URL
To access the Unifi CLI (often works when normal mode doesn't):
mca-cii
Reset to Factory Settings
set-default
or
syswrapper.sh restore-default
Upgrade Firmware
upgrade https://dl.ui.com/path/to/upgrade-vX.Y.Z.bin
KB: https://help.ui.com/hc/en-us/articles/205143490#2
(You will have to get the real URL from the software page https://www.ui.com/download/unifi/) Make sure you are downloading the right firmware and the latest version.
Set Inform:
Set-inform URL:port/inform
Ex: set-inform http://unifi.bweezness.com:8080/inform
Notes:
— HTTP not HTTPS
— Remember the port and /inform. The default port is 8080, but it can be changed in the Unifi Controller config to any port.
— Using mca-cli before this command can help it take.
— Run syswrapper.sh restore-default and let it reset, before running inform to save yourself the headache.