Dropbear Key Location

Hi All:

I’ve finally gotten dropbear to work in 21.02.1! Specifically, I CAN ssh from openwrt into a machine running Openmediavault 5 (Debian 11) if I specify the path to the private key on the command line. Without specifying the path, I get prompted for username/password. I also get prompted for username/password when I use rsync.

I think the problem is the private key is not in the right location on openwrt. The key is currently in /etc/dropbear/id_key. Where should the private key be to not have to give a path to ssh and for rsync to find it?

Thanks for any help you can provide.

https://openwrt.org/docs/guide-user/security/dropbear.public-key.auth#generating_keys

cp /etc/dropbear/dropbear_rsa_host_key /root/.ssh/id_dropbear
2 Likes

Thank you for your help. I generated the keys in Debian 11 and had to convert them to dropbear format so it was not clear how much of this howto was still applicable. Your response solved the problem.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.