running Ubuntu Touch on a Nexus 4. I've installed ssh server and have followed the instructions available in the wiki to ssh into the phone, but it tells me connection is refused. Doing the standard ssh phablet@192.168.x.x (getting IP address from ifconfig). I've made the image writable. I've enabled ssh. Now I'm at a loss.
Asked
Active
Viewed 1,888 times
2
1 Answers
0
There is an override file /etc/init/ssh.override, which disables password login to ssh. If you were to do
$ ssh phablet@192.168.x.x -v
from your client, you will see something like
debug1: Authentications that can continue: publickey
so, the only authentication option by default is publickey and not password. To enable the password authentication, you can either remove this override file, which you won't be able to do for some reason I can't figure out, or simply empty out the file
sudo tee /etc/init/ssh.override < /dev/null
/home/phablet/.ssh/authorized_keys
file (with a public key of the PC you're using to access the Ubuntu Touch device) on your device. – Peterino Feb 11 '16 at 23:47