Guest paulsmith Posted March 30, 2010 Report Posted March 30, 2010 Hi, Ive finally started playing around with new roms. Whats the easiest way to get SSHD / Drop bear onto these new 2.1 Roms. Busybox should not be to hard - but I cannot find a link to a drop bear binary. There was a thread on XDA - but the link for dropbear is to old and give a 404 now. Some help using the scripts that the great MoDaCo roms use for starting dropbear would be very helpful as well. I made a school boy error and my latest nandroid backup failed (due to space on sd card). So I thought I might as well move to a new Rom. Thanks in advance.
Guest TomaszG Posted March 30, 2010 Report Posted March 30, 2010 (edited) Working dropbear binaries are in attachment. Also included rundropbear.sh with command to start dropbear on 2222 port. I used this tutorial to install it on ROM: http://www.droidforums.net/forum/droid-hac...roid-2-0-a.html PS: Mediafire mirror: http://www.mediafire.com/?mynumwauy0j If you want to use dropbear with WinSCP and you have problems with ls command here's the solution: http://android.modaco.com/index.php?s=&...t&p=1225009dropbear.zip Edited March 30, 2010 by TomaszG
Guest paulsmith Posted March 31, 2010 Report Posted March 31, 2010 thanks for the info and dropbear Binary file
Guest paulsmith Posted March 31, 2010 Report Posted March 31, 2010 I managed to get drop bear ssh daemon to work following the instructions you posted. Thanks. Whats an easy way to ensure the daemon is running upon phone start up?
Guest kendon Posted March 31, 2010 Report Posted March 31, 2010 use a startscript (in /system/etc/init.d/ for example), then do adb shell "ps|grep dropbear" to check
Guest paulsmith Posted April 1, 2010 Report Posted April 1, 2010 use a startscript (in /system/etc/init.d/ for example), then do adb shell "ps|grep dropbear" to check Hi, thanks for the reply. I put a script called rundropbear.sh into /system/etc/init.d/ this script simply has dropbear -A -N root -U 0 -G 0 -C XXXX -R /etc/dropbear/authorized_keys Upon a reboot the dropbear daemon was not running. Using adb shell, then running the script by it launched fine. Do you think its a permission or path problem? ----rwxr-x root root 74 2010-04-01 13:12 rundropbear.sh
Guest zorm Posted April 1, 2010 Report Posted April 1, 2010 I put a script called rundropbear.sh into /system/etc/init.d/ IIRC it isn't safe to assume a script in that directory will be run on boot. I think some roms do this & others don't. You'd have to check the init script in /. More than likely there will be an existing script in /system/etc/init.d that you can append yours to or use to launch yours.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now