← Back to team overview

ubuntu-phone team mailing list archive

Re: openssh broken? Cannot ssh into phablet image

 

On Fri, Sep 13, 2013 at 6:02 AM, Gerry Boland <gerry.boland@xxxxxxxxxxxxx>wrote:

> Hi all,
> in cdimage-touch images from yesterday onwards, I'm not able to just
> install openssh-server and then ssh into my phone.
>
> This has broken my workflow as lots of scripts I use all rely on ssh.
>
> For the moment, these steps are my work-around, until I can dig more
> thoroughly:
>
> adb shell
> dpkg-reconfigure openssh-server
> mkdir /var/run/sshd
> chmod 644 /var/run/sshd
> /usr/bin/sshd -D&
>
> Now sshd runs, so I can ssh in.
>

It's disabled by default, delete the /etc/init/ssh.override to enable it

Follow ups

References