For those newbies on Android, I write the procedure I followed, to get adb running on a Linux box, and set up ssh on Emteria OS.
( I am sure this can be done on VM with persistence.).
Follow the link in this post to use putty to generate the two ssh-keys. Save the .ppk. make a file called Authorized_keys. Highlight, paste and save the public keys in this file.
I use a Linux box as root to do all:
apt-get update
apt-get install android-tools-adb
apt-get install android-tools-fastboot
check all installed run.
adb
fastboot
Connect the Linux box & the Emteria OS Pi to the same network WiFi.
On the Emteria OS Pi I installed ADB Manager, not sure if that was necessary, but it was a no brainier.
Start the Adb manager on Emteria OS. It will asked for Superuser permission allow it.
You will see running and the ip and port.
On the Linux box.
adb devices
you should see the Emteria Pi ip address as listed.
adb connect Emteria Pi ip:port
adb root
adb push Authority_keys /data/ssh
adb ls /data/ssh
you should now see Authorized_keys as one of the files.
adb reboot
After Emteria Pi reboot, got to settings scroll down to Emteria and you will now be able to turn on Enable Integrated SSh mode.
Test with putty as stated in the link you can now connect.
You should now turn off ADB Manager and ADB connection under Settings.
Hope it helps.
Thanks to the all the above Posters: SanderK : Malevris : kalkov for making this possible.
node