Jump to content

How to remove DROPBEAR SSH on my 3.1 modaco ROM?


Recommended Posts

Guest j_unit
Posted

hi there, I just purchased a HERO with modaco 3.1 rom installed but I want to remove the SSH as I do not use it,,also due to security risks...

how would I do this?

regards

sam :)

Guest j_unit
Posted

because the HTC HERO i purchased has the dropbear SSH installed within the ROM,,,,,and im scared the previous user can use it to remote access my device...

Guest j_unit
Posted

i ran this in adb:

adb remount

adb shell rm /system/bin/removedropbear.sh

is this correct?

Posted

What I would do is install MCR 3.2, in my opinion it is quite better then the 3.1 version. Also if you install a new version, it will change your password.

Guest j_unit
Posted

hi, can you tell me how to install it coming straight from MCR 3.1?

Guest j_unit
Posted

Hi i have successfully installed the latest MCR 3.2,,,but I still do not want SSH, how do i remove it? thanks in advance,.,

Guest Dr. dre
Posted (edited)

Just give this command and it'll work for sure :-

adb remount
adb shell rm /system/bin/removedropbear.sh[/codebox]

Just Backup this file on your PC, if any problem occurs, you never know just incase.

Edited by Dr. dre
Posted (edited)
Just give this command and it'll work for sure :-

adb remount

adb shell rm /system/bin/removedropbear.sh
Just Backup this file on your PC, if any problem occurs, you never know just incase.
Um, unless I'm still half asleep (which is quite possible), that just removes the script whose sole purpose is to remove dropbear. Thus you leave dropbear installed & make removing it a little more tedious. Either put that script back & run it via adb or do what it would have done:
adb remount

adb shell

rm -rf /data/dropbear

rm /system/bin/dropbear.sh

cat /system/build.prop.nopassword|sed -e "s/REBOOT REQUIRED/ /">/system/build.prop

reboot

I think that'll be fine, but hopefully someone with a clue will correct me if I'm wrong.

BTW While I was copying the removedropbear.sh from my shell 30s ago I accidentally pasted the contents back into the shell & removed my own dropbear install as a result - oops.

Edited by zorm
Guest j_unit
Posted

lol, thats what i thought , i think just removes the actual uninstaller:::

adb remount

adb shell rm /system/bin/removedropbear.sh

can someone confirm this?

why doesnt the developer tell us the script to use and pin it in the MCR 3.2 thread

Guest Lordsmiff
Posted

He does - where he tells you that dropbear is installed in the first post for 3.2, he also tells you how to remove it :)

Cheers,

Smiffy.

Guest j_unit
Posted

no he doesnt, he just says "running /system/bin/removedropbear.sh"

but doesnt tell us what script to use....

Guest Dr. dre
Posted (edited)
Just give this command and it'll work for sure :-

adb remount
adb shell rm /system/bin/removedropbear.sh[/codebox]

Just Backup this file on your PC, if any problem occurs, you never know just incase.

Dude If you read this topic carefully, I have given you the commands for that.

Edited by Dr. dre
Guest kendon
Posted
no he doesnt, he just says "running /system/bin/removedropbear.sh"

but doesnt tell us what script to use....

/system/bin/removedropbear.sh is the script to use, you just have to read. the extension .sh usually indicates a shell script

Guest j_unit
Posted

so for the complete noobs out there,

what exactly do you type in via adb?

obviously it's not this:

adb remount

adb shell rm /system/bin/removedropbear.sh

because this will just remove the program that unistalls the ssh...

Guest j_unit
Posted
Dude If you read this topic carefully, I have given you the commands for that.

dude that just removes the program which uninstalls the ssh....so fail to u mate =D

Posted
so for the complete noobs out there,

what exactly do you type in via adb?

adb shell /system/bin/removedropbear.sh

  • 3 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.