Ubuntu touch - remote access to device

To allow communication between your Nexus 7 and your host system you'll need to enable the developer mode on your Ubuntu-touch device.

Go to System Settings -> About this phone -> Developer mode:

enter image description here

With the developer mode activated, you have several options to start a ssh connection to your device:

  1. From the Ubuntu SDK (you can even reboot from there):

    enter image description here

  2. Using the phablet-tools package (sudo apt-get install phablet-tools):

    Start the connection with phablet-shell and once connected type sudo reboot as you would normally do on a desktop system:

    $ phablet-shell
    /home/sylvain/.ssh/known_hosts updated.
    Original contents retained as /home/sylvain/.ssh/known_hosts.old
    Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.
    Welcome to Ubuntu Utopic Unicorn (development branch) (GNU/Linux 3.4.0-3-flo armv7l)
    
     * Documentation:  https://help.ubuntu.com/
    Last login: Fri Oct 17 09:50:34 2014 from localhost.localdomain
    phablet@ubuntu-phablet:~$ sudo reboot
    [sudo] password for phablet: