Dropbear Public-Key Authentication

Tue 07 August 2012
By makefu

ssh-copy-id does not work out of the box for dropbear. The issue is that dropbear may only have one authorizedKeys file while openssh handles this file for each user. To fix it symlink the root users authorizedKeys file to the dropbear one.

openwrt>> ln -s /root/.ssh/authorized_keys /etc/dropbear/
remote>>> ssh-copy-id root@openwrt

There, you fixed it