How to run an SFTP server on my CM9 RC2 Galaxy Nexus I want to run an SFTP server on my GSM Galaxy Nexus (Cyanogenmod 9 RC2). I plan to connect to the Galaxy Nexus from a Kubuntu 12.04 PC via USB cable (not wireless).

It is my understanding that Dropbear does not include SFTP at this time. What are my other options? If anyone knows how to do this, I would appreciate a tutorial or a link to a tutorial. Thanks.
I realize this question is a bit old and therefore the original poster may no longer benefit from this answer, but I'ma try anyhow, just in case anyone else has this exact same question.  I have this working flawlessly (as far as I can tell) on devices running versions of android ranging from 2.2 up to 4.3, all using DropBear, however it took a bit of searching to find the solution.  What the problem is, put simply, DropBear (as included in most Android app markets) does not apparently include the binary for sftp-server for some unfathomable reason. The (somewhat) simple fix was found in the discussion thread for Issue #1 at the droidsshd Google Code project. I will now explain that solution step by step for future visitors to this question.


Install droidsshd or dropbear app from your favorite Android market app.
Configure appropriately so that it is working fine for normal ssh connections.
Try sftp root@&lt;your droid ip address&gt; to confirm it as non-working and to get an error message telling you where it is expecting to find the sftp-server binary at.
Download the sftp-server binary found in comment #6 of the aforementioned Issue #1 discussion.
Use whatever available means necessary to get that sftp-server binary into your device's sdcard.  (I prefer AirDroid personally, but your favorite method will work equally well I'm sure.)
ssh into your droid device and copy that binary into the appropriate folder from the error message above in step 3. (You may need to create a folder or two if they don't exist yet. I did.)


ssh root@&lt;your droid ip address&gt;
mkdir -p &lt;path to expected folder&gt;
cp /mnt/sdcard/sftp-server &lt;path to expected folder&gt;
If the previous command failed, try "mount -o remount,rw /" to mount the appropriate partition as read/write then try the previous copy command again.
rm /mnt/sdcard/sftp-server



By this time you should be in a position to restart the DropBear server and then enter an sftp://root@droid/ style address in Dolphin (or whatever similar method in your file manager of choice). This method has worked for me (on four different devices thus far). I hope it helps you, too.