Closed jbman35 closed 3 years ago
Hello,
Dropbear should start by default, no changes should be needed. Did you wait for JFFS2 build to finish when checking if server started? JFFS2 build for Lima can take few minutes when doing first boot.
Since rebasing my fork (to 936ce5768fd5b2fe405b3bd643395af03d4dbf5b) I've run into this as well. The generated dropbear key files are never copied to the /etc/dropbear directory. If the files are copied by hand, all is fine and dandy. I'm running this on a Carambola2 however.
@0x4C4A Try updating to efac53d79f
After rebasing to efac53d I'm happy to report that the issue did not repeat.
Hello,
I faced some troubles while using dropbear as a ssh server on my LIMA.
I added dropbear to be started automatically on startup (by putting a link into /etc/rc.d/), no problem it starts properly.
But I observed that the first time dropbear starts this way, the rsa host key are not copied from /tmp/dropear to /etc/dropbear as they should be as shown below:
You need to start dropbear manually once, so that the key are properly copied to /etc/dropbear and after that the server starts properly.
I patched the script on my side to have a more sequential approach of the key generation (and it works properly) but I wanted to raised an issue on this script (/etc/init.d/dropbear) that does not seem to work properly.