ssh-copy-id dropbear default for openwrt
Carlos Morel Gómez La Roque
carlos at nodolibre.org
Fri Jul 24 04:44:30 AEST 2026
Hi,
from Termux when ssh-copy-id to owrt with openssh, default behaviour is to
store keys on
/etc/dropbear/authorized_keys
on installkeys_ssh() {} we might add
[ -f /etc/openwrt_release ] &&
{ [ "\$LOGNAME" = "root" ] || [ "\$(id -u)" = "0" ]; } &&
pgrep -x dropbear >/dev/null 2>&1 &&
AUTH_KEY_FILE=/etc/dropbear/authorized_keys;
the third line to check if indeed is dropbear being used on owrt
cheer,
Carulosu.
More information about the openssh-unix-dev
mailing list