Settings -> About phone，然后点击“内部版本号”七次。这启用了开发人员工具。
Developer options，启用“ Android调试”选项，然后点击
Your Android phone ( Rooted and with Wi-Fi functionality ) SSHDroid (SSH server) PuTTY.exe (SSH client)
Install “SSHDroid” from android market to your phone this will turn your phone into a SSH server For the first time you need to set-up a password to log-in shell. Default password is admin which may you have to change on first time
Download PuTTY.exe for SSH Client on your windows PC, it comes in single executable file so you don’t need to install that just double click on that and PuTTY will start. There is no need to setting up any thing in PuTTY.
First step is to running Wi-Fi and connect your android phone to target PC, then run SSHDroid server into your mobile phone, but before that make sure under the SSHDroid’s application window click Options -> “Require WiFi” is checked as seen on above pic screen 2. And then click “start” option. Once SSH server is successfully started it will show IP address of your mobile phone in light sky color like this firstname.lastname@example.org as seen on screen 4. Take the IP “192.168.43.129” and type it to your PuTTY program’s (PC) host field and hit connect. Make sure port number is 22 as seen in second pic. It will ask for certification click ok and then command line log-in window will appear, type “root” hit enter and then type the password for root user, default is “admin” as i mentioned before. After successful log-in you will be able to use Linux commands like ls, reboot -f, mkdir, find, etc.