Enable all (main + secondary AP) Guest wifi radios from main router

SSH_USER="root"
SSH_HOST="openwrt"
SSH_KEY="/etc/dropbear/dropbear_ed25519_host_key"
SSH_CMD="tee -a /etc/dropbear/authorized_keys"
dropbearkey -y -f "${SSH_KEY}" \
| grep -o -e "^ssh-.*" \
| ssh "${SSH_USER}"@"${SSH_HOST}" "${SSH_CMD}"
3 Likes