PINE64
How to enable SSH on UBPorts Ubuntu Touch? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125)
+---- Thread: How to enable SSH on UBPorts Ubuntu Touch? (/showthread.php?tid=9862)

Pages: 1 2


RE: How to enable SSH on UBPorts Ubuntu Touch? - somken - 05-21-2020

https://forum.pine64.org/showthread.php?tid=9886&pid=65872#pid65872

Much easier method posted here. I created /root/.ssh/authorized_keys with my key and was able to ssh in as root. I will note that the wifi connection seems to be iffy and drops for a few seconds every so often.


RE: How to enable SSH on UBPorts Ubuntu Touch? - afigegoznaet - 05-24-2020

(05-21-2020, 07:46 PM)somken Wrote: https://forum.pine64.org/showthread.php?tid=9886&pid=65872#pid65872

Much easier method posted here. I created /root/.ssh/authorized_keys with my key and was able to ssh in as root. I will note that the wifi connection seems to be iffy and drops for a few seconds every so often.

yes, if you want to login using a key, that's easier.


RE: How to enable SSH on UBPorts Ubuntu Touch? - voidmain - 09-15-2020

(05-24-2020, 03:04 AM)afigegoznaet Wrote:
(05-21-2020, 07:46 PM)somken Wrote: https://forum.pine64.org/showthread.php?tid=9886&pid=65872#pid65872

Much easier method posted here. I created /root/.ssh/authorized_keys with my key and was able to ssh in as root. I will note that the wifi connection seems to be iffy and drops for a few seconds every so often.

yes, if you want to login using a key, that's easier.
NOTE:  I had not set a lock code or passphrase at all and was unable to ssh into my PinePhone running ubuntu touch on a sdcard.

After I did these steps it worked with the passphrase that I finally sent and set on the phone.

mount -o rw,remount /
umount /etc/init/ssh.override
rm /etc/init/ssh.override
start ssh

Now ssh to the phone and login with phablet and (your new passphrase)