Get to command prompt (on device) adb shell The recent builds (tested for 226, but possibly earlier) now support a new meta-flag, to allow SSH ( sshd daemon) to re-start on startup. To revert to disabled echo "manual" | sudo tee /etc/init/ssh.overrideĪs of early March 2014, while the file /etc/init/ssh.override still exists, changing its contents does not allow SSH (actually the sshd daemon) to run on startup. Sudo tee /etc/init/ssh.override < /dev/null You need to type the following, using a USB connection to the device: adb shell You also don't want SSH operating from root. OpenSSH server is now (as of 1) pre-loaded with Ubuntu Touch install. On your computer, type (again replacing 192.0.2.1 with your phone's IP address from above): ssh your phone's IP address changes, you will need to use ip addr in the Terminal app on your phone again and adjust your ssh command accordingly. If successful, the last command on your phone's Terminal will now succeed. On your computer, type (replacing 192.0.2.1 with your phone's IP address from above): nc 192.0.2.1 1234 < ~/.ssh/id_rsa.pub Look for your phone's IP address in the Terminal as returned by the ip addr command above. (the last command will hang this is expected) Open a Terminal and type (this is easier with the phone in a landscape orientation): sudo setprop true Install the Terminal app on the phone from the App Store.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |