Compiling dropbear for Android

Android has it’s ADB and it’s great. But for me, it’s not always enough, especially since it has no way to authenticate the user and there is no encryption. That’s why I need SSH too. OpenSSH is to big for embedded systems so I’m using dropbear.

Dropbear is already inside of Android tree, in external/dropbear directory. Problem is, Android.mk is configured to only compile SSH client while I need a server. So there are two solutions - changing Android.mk to also compile server or build it externally. In this article I will show the later approach. more ...