Posts: 254
Registered: ‎03-01-2011
Kudos: 26
Solutions: 1

Unifi CLI / SSH commands list ?

OK folks, where is this master list of commands I can stash away for my techs ?  I see more and more commands popping up on replies that we didn't have before.  Sorry this wasn't in the Certified book handout from the exam....

Ubiquiti UBWA & UEWA
Hospitality 24 Hour Service Provider
Posts: 5,998
Registered: ‎09-03-2013
Kudos: 2077
Solutions: 398

Re: Unifi CLI / SSH commands list ?

Well, at least for SSH commands inside the APs, it's pretty easy. Just log on to an AP and hit TAB on the keyboard twice, it will list all available commands.

Redcon IT Solutions - Florianópolis/SC/Brazil
Regular Member
Posts: 450
Registered: ‎05-14-2014
Kudos: 119
Solutions: 10

Re: Unifi CLI / SSH commands list ?

[ Edited ]

don't for get just the help, that lists commands

[                   gunzip              mtd                 sleep
[[                  gzip                mv                  sort
adjtimex            halt                nas                 ssh
arp                 head                nc                  stainfo
arping              hexdump             netmsg              stamgr
ash                 hostid              netstat             start-stop-daemon
awk                 hotplug2            nice                strings
basename            htb                 nohup               support
brctl               httpd               nslookup            switch_root
bsd                 hwclock             ntpclient           sync
bunzip2             id                  nvram               sysctl
busybox             ifconfig            opkg                syslogd
bzcat               igmpproxy           passwd    
cat                 igs                 pgrep               tail
cfgmtd              init                pidof               tar
chgrp                ping                tc
chmod               insmod              ping6               tcpdump
chown               iostat              pivot_root          tee
chroot              ip                  pkill               telnet
clear               iperf                telnetd
cp                  iptables            poweroff            test
crond               kill                prepare_bss         tftp
crontab             killall             printf              time
cut                 killall5            ps                  top
date                klogd                  touch
dbclient            ldd                 pwd                 tr
dd                  length              pwdog               traceroute
df                  less        true
diff                ln            ubntbox
dirname             lock            ubntconf
dmesg               logger              radartoolw          uci
dropbear            login               rate.awk            udevtrigger
dropbearkey         logread             rdate               udhcpc
du                  ls                  reboot              umount
eapd                lsmod               redirector          uname
ebtables            mca-cli             reset               uniq
echo                mca-cli-op          reset-handler       uptime
egrep               mca-ctrl            rm                  vconfig
emf                 mca-dump            rmdir               vi
env                 mca-monitor         rmmod               watch
et                  mca-sta             robocfg             watchdog
expr                    route               wc
factorytest         mcad                rpcapd              wevent
false               md5sum              sadf                wget
fgrep               mesg                sar                 which
find                mkdir               scp                 wl
free                mkfifo              sed                 wlconf
fwupdate            mknod               seq                 xargs
fwupdate.real       mktemp              sh                  yes
getty               mount               show_node           zcat
grep                mpstat              show_nt
BZ.v3.2.1# help
UniFi Command Line Interface - Ubiquiti Networks

   info                      display AP information
   set-default               restore to factory default
   set-inform <inform_url>   attempt inform URL (e.g. set-inform
   upgrade <firmware_url>    upgrade firmware (e.g. upgrade
   reboot                    reboot the AP



Controller: 5.10.5 (Ubuntu VM 16.04.5 on Synology DS918+)
Wireless: AP AC-Pro | AP AC-LR | AP AC-Lite |
Emerging Member
Posts: 45
Registered: ‎03-13-2014

Re: Unifi CLI / SSH commands list ?

[ Edited ]

Where might I find additional lists of commands for Ubiquiti products?  I think there's a way, for example, to enable/disable Web Server and HTTPS through SSH but I don't know what the commands are.  Thanks

New Member
Posts: 5
Registered: ‎07-21-2015

Re: Unifi CLI / SSH commands list ?

Yes please! i got the SSLv3 problem so i want to turn off HTTPS true SSH

New Member
Posts: 2
Registered: ‎01-17-2018

Re: Unifi CLI / SSH commands list ?

you can do 


vi `which` - it's just a shell script. then hit   /set-adopt   and enter


This will take you to the section of the script where commands are defined. No documentation at all though