[HOWTO][JB] Build and run dropbear with sftp support
So now that there's no clean way of mounting your new Jelly Bean Android device as a mass-storage device, you're trying to find a simple way of sharing files from/to your Android device. The SSHFS
filesystem is a convenient way of accessing a SSH
filesystem, but obviously it has some pre-requisites on the target device:
- An SSH server
- sftp-server support
There are some SSH servers available on the Android market, or better said "SSH server GUIs". They are all based on dropbear 0.52, which is pretty old, and they actually provide binaries which we really can't say where and how they were built. Also, none of those provide an out-of-the-box working sftp-server, which is mandatory to use SSHFS.
I wrote a complete tutorial on how to build your own SSH
server with SFTP
support, along with needed patches on GitHub: https://github.com/iMilnb/docs/blob/...ftp-android.md
Feedback welcome as always.