ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #09341
Re: Developer mode, ADB and SSH
-
To:
Ubuntu Touch <ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
-
From:
Mitchell Reese <projects@xxxxxxxxxxxxxxxxxxxxx>
-
Date:
Mon, 04 Aug 2014 22:35:12 +1000
-
In-reply-to:
<CAKnT5bMLWM5-cogr9g1vXZy0JtbnHcmiTPgnH=Q_GGVqdSFi3Q@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0
Just trying to set-up ssh without making the image writeable. The ssh
server is running, however I'm having issues with the public keys. I've
added a generated key.pub file into the
/home/phablet/.ssh/authorized_keys folder (created this), however I'm
not able to log in. I notice that password authentication is turned off
by default in the main config file - /etc/ssh/sshd_config
Any thoughts as to how we can get ssh access via a wifi network at
present? I'd rather not make the image writeable unless necessary.
Ta.
Mitchell
On 04/08/14 21:42, David Planella wrote:
Hi all,
With the recent landing of the developer mode UI and from previous
discussions on the list and on IRC, I understand that:
- ADB will be disabled by default, but can be enabled/disabled using
the switch in the developer mode
- SSH will be disabled by default and there is no UI to enable/disable
it. However, it can be enabled from an adb shell session issuing the
'setprop persist.service.ssh true' command.
I also understand the rationale that most things can be accomplished
with ADB and power users can simply enable SSH over the terminal.
However, given the fact that Qt Creator uses both ADB (for SSH key
exchange) and SSH (for app deployment), this introduces another manual
step before being able to develop apps with a device, making the app
developer experience a bit more cumbersome. The SDK tell me that it'd
be technically possible to migrate to ADB only, but that there'd be
some issues with adb port forwarding and the emulator (they can expand
on this better than I).
Is there a way developer mode can work better with Qt Creator, so that
the developer only has to worry about flicking a switch on the device?
Cheers,
David.
References