Control
Easy connect your Android Phone with a pc
Features:
- start / stop dropbear server by hand
- wlan service listener - start /stop dropbear automatically with your wlan
- shows actual state of dropbear, wifi and service status
- easy install of dropbear to the system ( yes not only by the app - you can use dropbear from anywhere in your Android)
- half automatic setup for your pc running Windows for PuTTY (also easy!)
- full deinstaller ( if needed)
- set custom port to connect to easy update for public key authentication keys
- PuTTY downloader and setup howto for Windows pc
- build in dropbearmulti binary for Android system included
What do you need to run this app:
rooted Phone
busybox installed
This app will crash if you miss one of them!
On start you get asked for root privileges -allow them!
at next sshControl checks if dropbear is allready installed on your system.
If not you get automatically redirected to the options screen where you can start the installer.
Follow the messages on the screen > you cant get ssh quite simply to run.
Overview:
Main Screen:
In the speechbubbles you find the states of the necessary items to get a connection.
Buttons:
1. reload button = update the view of the bubbles ( it does a system check)
2. menu button = opens the menu with many useful things - look at Options screen overview for detail
3. start dropbear binary = start dropbear with app settings by hand
4. stop dropbear binary = closes dropbear immediately
5. Autostart dropbear with wlan = if startet dropbear starts with wlan and terminate when wlan is down
6. Stop and deactivate the service of nr 5.
Options screen:
Buttons:
1. reload button = update the view of your wlan IP Adress and port you have to use to connect to your phone
2. update new public key = easy install of a new public key to the system
3. set port = set port to use ( standard is 233 in this app )
4. delete dropbear = deletes dropbear complete
5. install & setup dropbear = Install dropbear and set it up
6. help = ... you read it
7. go back = go back to the mainscreen
First start:
Start your wireless lan if not allready connected to your home network.
First you get asked if you want to read the help file - now you are here ;)
When you press the back/close button you will read that you should install the dropbear binarys > do that!
Follow the howto on screen - press OK and next you will get to the options screen. A red marker show the button you should press
"install dropbear & auto setup"
Its a full guided installer to get a running ssh connection.
Next: confirm the question if you really want to do this.
Now
you get asked if you want to download the PuTTY Windows installer
directly on your phone - then you will have all together what you need
for
a connect. You can download that later if you like. ( if you run
linux putty is the wrong for you- check apt-get sshd or something).
The
download of this 1,5Mb file get startet out of your browser when you
confirm. Its directly of the website from the developers of PuTTY.
If you downloaded it go back to the sshControl app to proceed with install.
The
installation goes really fast - next you get prompted to connect your
phone to your pc - press OK on the popup and you will get to a
"waiting" screen where the app waits till you are ready.
Normally
a window shows up on your pc to open your internal flash memory of your
phone - do that to get to your phones /sdcard folder.
There is a
new folder named "dropbear_easy_setup" - in it you find a "howto" to
setup a new ssh key with PuTTY (in html with pictures).
Now follow the instructions in the howto html file and copy the "dropbear_easy_setup" folder to your desktop.
How you get putty.exe and puttygen.exe is below explained as well as in the howto on your pc.
When you have copied the ssh key to the "key_for_authorization.txt" file tapon the big OK button in the middle.
Confirm that you have done all right.
Assuming that the program see it just as you - you get a "new dropbear setup complete...." popup
Confirm it and you will be on the options/ install tool screen again.
press the go back button in the bottom right corner to go to the mainscreen.
There press "Start dropbear binary" button and wait a moment.
If the dropbear status bubble dont change press the reload button - it should run now!
Next enable or disable the service.
Done with that go to your pc and set up PuTTY if not done already.
now you can press "open" in PuTTYs screen on your PC and paste your ssh passwort in the shell window.
the connection should now be established.
Use of:
"Update new public key" button
When you press it the "dropbear_easy_setup" folder with the "key_for_authorization.txt" file get created on your /sdcard.
You can put every valid ssh-rsa key in it. But only one by one if you have more than one pcs from which you would connect.
Press the OK button when you are done and restart the dropbear binary.
"Set port for connection" button
You can set a custom port to use with dropbear. normal is 233 in use
"delete dropbear & remove all data" button
Deletes the whole dropbear installation on the system. if keys where found they got saved in a tarball on sdcard.
Files and folders in use:
/system/xbin/dropbearmulti and its symlinks
/etc/dropbear
/data/dropbear
/sdcard/tmp/dropbear_inst_log.txt