First thing you need to do is go to the Android Market and download an app called "SSHDroid".

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Go ahead and install this app and run the program on your Android device.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Once the program is running you can modify options by going into  "Options".  There isn't a whole lot you need to modify here, but I do recommend changing the password.  If you don't decide to change it, the default password is "admin".



Ok, Now that you have the program running.  You'll notice what IP address SSHDroid is listening on.  In my case it's 10.10.1.12. I use a program called "Filezilla" (http://filezilla-project.org) to SFTP into my Android device.  You can use any client that lets you utilize the SFTP protocol.  If you're reading this article and fairly technically savvy you would already know what an FTP/SFTP client is.

Connecting to the Android device via your FTP/SFTP client:
Host: Your local IP address SSHDroid is listening on
Protocol: SFTP - SSH File Transfer Protocol
Logon type: Normal
User: root
Password: This will be the password you changed in the "Options" settings of SSHDroid.  If you didn't change the password, default is: admin


Go ahead and make the connection to your Android device.  Browse to:
/data/misc/wifi

and download the file "wpa_supplicant.conf"


Here is what the file should look like (the SSID's and passwords are
in plain text so I ommited them with X's):

ctrl_interface=eth0
update_config=1

network={
ssid="XXXXXXXXXXXXX-XXXX"
psk="XXXXXXXXXXXXXX"
}

network={
ssid="XXX-XXXXX"
psk="XXXXXXXXXXX"
priority=1
}

network={
ssid="XXXXXXX"
key_mgmt=NONE
priority=2
}

network={
ssid="XXXXXXXXXX"
psk="XXXXXXXXX"
priority=3
}

network={
ssid="XXXXX_XXXXXX"
psk="XXXXXXXXXXXXXXX"
priority=4
}

network={
ssid="XXXXXX_XXXXXXXX_

XXXXXXXX_XXXXXX"
key_mgmt=NONE
priority=5
}

network={
ssid="XXXXXXXX"
key_mgmt=NONE
priority=6
}

network={
ssid="XXXXX"
key_mgmt=NONE
priority=7
}

network={
ssid="XXXXXXXXXX"
key_mgmt=NONE
priority=8
}

network={
ssid="XX XXXXXX"
key_mgmt=NONE
priority=9
}

network={
ssid="XXX.XXXXX"
key_mgmt=NONE
priority=10
}

network={
ssid="XXXXXXX XXXXXX XXX"
psk="XXXXXXXXXXXX"
priority=11
}


So if you forget your saved passwords, you can use this little trick here.  This also works if you want to modify the passwords also.

Have Fun!

Login Form