If you read this you have found the dropbear_easy_setup folder

## 1. = get PuTTY on your pc

        Now at first copy the PuTTYinstaller.exe to your Desktop. You could find it in your Downloads folder on your sdcard if you had downloaded it with the phone.
        Else go to : 

            PuTTYs Homepage

        and download the installer for Windows. If you like to load only the binarys needed > we need putty.exe and puttygen.exe, although its easyer to handle the installer for all.

                                                        Quick link to installer: direct link to PuTTY 0.63 Installer


        Ok now lets install PuTTy on our Windows PC:
        Its the Next> Next >Next spree like ever ;) -In " Select Additional Tasks" you can select "Create a desktop icon for PuTTY" if you like.

        If you downloaded the seperate files - they run with a doubleclick on them.


Now PuTTY is on our pc installed - lets go on!

## 2. = copy dropbear folder to PC

        Open ( on your PC ) the connected /sdcard folder of your phone again ( if its not already open )
        and copy the "dropbear_easy_setup" folder to your Desktop or elsewhere where you can find it later.

So lets generate keys for the pc

## 3. = setup key parameter

        start puttygen.exe

                    The little program looks like this:

puttygen_pic1
            Now at first check the "Parameters" at the bottom of the window

            We need at "Type of key to generate" > SSH-2 RSA enabled
            and in the field for "Number of bits in a generated key" we type "1024"
   
            that looks like this:    

puttygen_parameters_settings


## 4. = generate keys

        Click the "Generate" Button - follow the instructions and move your mouse wild over the blank field in the middle to generate random stuff.

puttygen_gen_key

                              When its done you looking at such a thing:

puttygen_generated_keys

        Its time to enter a passphrase and confirm it - its a must otherwise it wont work ( and keep that passphrase in mind! )

        Click on "Save private key" when you are done.
        See:
puttygen_seekeysnbutton

        This will generate a .ppk file which PuTTY needs later to connect with the phone.
        Give it a file name and save it where you can find it later again. ( In my example i named it putty_private_key.ppk )



## 5. = copy the file for phone

        Ok thats the tricky part ;)

        Go to the previously ( In part 2 ) copied "dropbear_easy_setup" folder and open the "key_for_authorization.txt" file with your favourite texteditor.

        Now back to the "PuTTY Key Generator" window

        Select all of the " Public key for pasting into OpenSSH authorized_keys file:" output and copy it into the opened "key_for_authorization.txt" file.
        It starts with "ssh-rsa" and ends with something like " ....=rsa-key-20...."
puttygen_ssh-rsa_copy

        The textfile should now look like this:

textfilelook


        Save the file and copy the whole "dropbear_easy_setup" folder back to its old place on the sdcard of the phone. Overwrite the old/empty file there.

        Then disconnect the phone from the pc, go back to the sshControl app and touch the big OK button.

        When your Phone  is ready make PuTTY run on your Windows pc.

        To achive this read following:


            Setup PuTTY


        1. launch putty.exe

        Its this little thing:

puttymainview


        Now we start from the bottom to setup PuTTY to connect with your phone.



        On the left side look at the "Category" list. Below the entry "Connection" you can spot
        the item "SSH".
        Click on it to enhance its view.
        You can see the entry "Auth" now - open it with a click.





        On the right side you can see "Options controlling SSH authentication"
        The standard settings are just fine at the moment. On bottom of this view click on
        the "Browse" button and select your previously generated PuTTY private key file.
        ( The putty_private_key.ppk was my example above. )







        If you done with that look in the left "Category" after "Data" driectly under the
        "Connection" entry.
        Write "user" in the "Login details" first text field "Auto-login username".







        Ok that was almost all to do. Now scroll the "Category" Listview to the top to "Sessions".


        You need to insert there:

        At the entry "Host Name (or IP adress) = the IP adress of your android phone
        At the entry "Port" = the port dropbear is using

        If you dont know them you get both values from sshControl. Open its options menu and tip on
        the "reload" icon. It take 2-3 seconds to show both values above the buttons.

        ( in my example i used IP= 192.168.1.100 and the port number 223 ; Connection type is [SSH] )



        Ok lets save this - give a name in the field "Saved Sessions" - i took "mySession".

            and click on the "Save" button to its right side.


Ok that was all!

    Now click on "Open" at bottom of PuTTY





        Cause PuTTY dont know your Phone on first connection it moans with a security alert.
        click on "Yes" to allow it!



        On the next Shellprompt you get asked for the passphrase you gave to the .ppk file earlier.
        ( You dont see stars or something when you type it in - press enter after your input )





                        Now you should see this:


Congratulation you are connected on your phone now
( in your /data/local folder on the phone )