SSH access through Wifi

From UbuntuPhone
Jump to navigation Jump to search

How to get SSH access to the ubuntu-phone via Wifi:

Login via terminal app, you will be user 'phablet' (the password is the unlock number).

Enable SSH service with (remains after boot):

android-gadget-service enable ssh

Fetch your public key to the Phone from some place:

mkdir .ssh
chmod 0700 .ssh
mv .ssh/authorized_keys

Now you can look up your IP on the phone and use ssh to connect:

ip addr show wlan0|grep inet

from your workstation use:

ssh phablet@IP-addr-from-above-command

SSH-in is even possible when the device is locked and black; don't know if this is intention that it does not suspend; the configuration goes like this

See also: