Tag Info

Hot answers tagged

5

It's not quite as seamless, but the ssh binary provided by busybox (mine, at least) supports the -i flag, so you can put the key wherever you want and use that: ssh -i /path/to/key_file joeuser@somehost.com The relevant man page entry for -i (with the caveat that the information about the default path may not be the same on Android): -i identity_file ...


3

Install & run ConnectBot (a dedicated SSH client). Tap/press menu key. From the menu, tap Manage Pubkeys. On next screen, again press/tap menu key. From the menu, tap Import.


2

You are not specifying the device to mount, only the directory so it is telling you that you are missing one of the required parameters. I believe that the busybox mount will let you get away with not supplying the device, if it can figure out the device to mount, but the "stock" mount requires that you supply both the directory and the device. you would ...


1

The reason for the different behavior is that dropbear was using a different shell than the terminal app. A workaround would be to just use the same shell as the terminal app: echo "/system/bin/sh" > /data/dropbear/.profile Note that this is in contrast to the Cyanogenmod wiki, which instructs you to use the busybox shell: /system/xbin/busybox sh


1

Yay, the phone boots again. Here's the magic recipe. Boot into recovery. adb shell mkdir /data/s mount -o rw -t yaffs2 /dev/block/mtdblock3 /data/s chmod 755 /data/s/xbin/busybox Reboot the phone. My shell is back. There's a weird quirk now - ls (from the busybox, one assumes) thinks ADB is an ANSI terminal and tries to emit ANSI escape sequences. Still, ...


1

There is busybox installer program in Market. Also good rooting programs may install busybox themselves. You can install it manually into /system/xdev/ (with necessary symbolic links) Here is one I have: /system/xbin # md5sum busybox 26d429e0541c42684225a880dc331053 busybox /system/xbin # ./busybox BusyBox v1.19.0 (2011-08-14 23:46:58 CDT) multi-call ...



Only top voted, non community-wiki answers of a minimum length are eligible