Reply
Member
Posts: 250
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
SuperUser
Posts: 5,937
Registered: ‎09-03-2013
Kudos: 2048
Solutions: 396

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 -www.redcon.com.br
Regular Member
Posts: 447
Registered: ‎05-14-2014
Kudos: 116
Solutions: 10

Re: Unifi CLI / SSH commands list ?

[ Edited ]

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


BZ.v3.2.1#
[                   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              syswrapper.sh
cat                 igs                 pgrep               tail
cfgmtd              init                pidof               tar
chgrp               initap.sh           ping                tc
chmod               insmod              ping6               tcpdump
chown               iostat              pivot_root          tee
chroot              ip                  pkill               telnet
clear               iperf               pktgen.sh           telnetd
cp                  iptables            poweroff            test
crond               kill                prepare_bss         tftp
crontab             killall             printf              time
cut                 killall5            ps                  top
date                klogd               psta.sh             touch
dbclient            ldd                 pwd                 tr
dd                  length              pwdog               traceroute
df                  less                qosLinkAddGroup.sh  true
diff                ln                  qosLinkAddVap.sh    ubntbox
dirname             lock                qosLinkInit.sh      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                mca.sh              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 http://192.168.0.8:8080/inform)
   upgrade <firmware_url>    upgrade firmware (e.g. upgrade http://192.168.0.8/unifi_fw.bin)
   reboot                    reboot the AP

BZ.v3.2.1#

 

Controller: 5.9.29 (Ubuntu VM 16.04.5 on Synology DS918+)
Wireless: AP AC-Pro | AP AC-LR | AP AC-Lite | 4.0.1.9421
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 syswrapper.sh` - 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

Reply