Ubiquity Unify Controller Management using SSH
Recommended Software
- Putty
- Filezilla (for file transfer)
- WinSCP (for FileStransfert)
- OpenSSH-Client (Command Line on Unix based systems)
Default Connection Settings
By default, connection to a Unify Controller goes as follow :
- Hostname : The IP of the controller on the network
- Username : ubnt
- Password : ubnt (unless you’ve changed it to something else when you configured the device)
- Port : 22
Locations
- Backups : /usr/lib/unifi/data/backup
- SD Card Backups : /data/autobackup
Actions
Get Debug Messages
Get Debug Messages should you have problem to connect to connect to the web interface and need to troubleshoot.
dmesg
Reset the cloud key
Run the following command (I hope you’ve made a backup 🙂 )
ubnt-systool reset2defaults
Upgrade Unifi Controller
Go to https://www.ubnt.com/download/unifi/
Copy the download link for the Linux version of the SDN Controller (UniFi SDN Controller X.X.XX for Debian/Ubuntu Linux)
Connect to your Cloud Key using SSH
Download the controller package in a temp folder, install and remove the downloaded file
cd /tmp
wget https://dl.ubnt.com/unifi/X.X.XX/unifi_sysvinit_all.deb
dpkg -i unifi_sysvinit_all.deb
rm unifi_sysvinit_all.deb
Sources
- https://community.ubnt.com/t5/UniFi-Wireless/Cloud-Key-broken-internal-backup-of-config/td-p/1650207
- https://help.ubnt.com/hc/en-us/articles/360000128688-UniFi-Troubleshooting-Offline-Cloud-Key-and-Other-Stability-Issues
- https://help.ubnt.com/hc/en-us/articles/216655518-UniFi-How-to-Change-the-Cloud-Key-s-Controller-Version-via-SSH
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.