Trying to do a remote reboot of a UniFi device is straightforward when UniFi controller is up, but what if UniFi cloudkey needs the reboot?
Do the following, assuming the UCK is attached to port 23 of the USW.
ssh user@usw
telnet localhost
en
configure
interface 0/23
poe opmode shutdown
# wait 10s
poe opmode autoHopefully, the UniFi network already had SSH enabled for the appliances.
system settings -> controller config -> element ssh
