PINE64
ssh not enabled, by default? - 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: Debian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: ssh not enabled, by default? (/showthread.php?tid=11441)



ssh not enabled, by default? - RodMyers - 09-14-2020

Did a fresh install of mobian. Trying to ssh into the phone.

following the wiki -> https://wiki.mobian-project.org/doku.php?id=tweaks#using-ssh-with-a-key-instead-of-password <- it seems that the ssh_server is not installed and running.

From within the phone & gui , I do not see anything to do with the ability to log into the phone.

What program(s) need to be installed to be able to ssh into the phone?

thanks


RE: ssh not enabled, by default? - bitnick - 09-14-2020

'sudo apt install openssh-server' should do it.

Edit: ... and the terminal program is called King's Cross for some reason. Smile


RE: ssh not enabled, by default? - RodMyers - 09-14-2020

(09-14-2020, 12:26 PM)bitnick Wrote: 'sudo apt install openssh-server' should do it.

Edit: ... and the terminal program is called King's Cross for some reason. Smile

Thank you. Will get it installed


RE: ssh not enabled, by default? - LinAdmin2 - 09-30-2020

(09-14-2020, 12:26 PM)bitnick Wrote: 'sudo apt install openssh-server' should do it.

Edit: ... and the terminal program is called King's Cross for some reason. Smile
Thank you, worked for me.
Just wondering why they do not include it in their image?


RE: ssh not enabled, by default? - bitnick - 10-02-2020

Probably because it's a security risk (an additional attack surface, and a rather weak one if you use the four-digit passcode to login), and something that not everyone will want to use.


RE: ssh not enabled, by default? - wibble - 10-02-2020

I agree with @bitnick - if you're going to use sshd you should disable password login and use keys. See https://wiki.mobian-project.org/doku.php?id=security for quick instructions. The PmOS build script offers to do this for you.


RE: ssh not enabled, by default? - LinAdmin2 - 10-02-2020

(10-02-2020, 04:20 AM)bitnick Wrote: Probably because it's a security risk (an additional attack surface, and a rather weak one if you use the four-digit passcode to login), and something that not everyone will want to use.
I do not think that on a gadget usable only for playing around any reasonable person would store confidential data Blush