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 firstname.lastname@example.org (getting IP address from ifconfig). I've made the image writable. I've enabled ssh. Now I'm at a loss.
There is an override file /etc/init/ssh.override, which disables password login to ssh. If you were to do
$ ssh email@example.com -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