SSH from Windows PC into PinePhone?
#6
(06-05-2022, 04:34 AM)Peter Gamma Wrote: connection refused

Code:
2.
Code:
Trying
to install ssh server

Code:
apk
add sshd

permission denied. I was able to install LibreOffice and it runs. But installing an ssh server seems not to work.

ANY IDEAS?
quick hint, this forum has a bug for adding spaces, use source code editor to avoid that.

linux world has two philosophies, root user versus sudo. in root user system, root user is activated and has different password, then su -l is used. in sudo system root user usually does not have password but sudo command is used to temporarily give root permission, in sudo systems, user password is usually given. (both could be used in same system btw).

postmarketos uses sudo system, so sudo su -l gives root console.

Code:
// gives root console
$ sudo su -l

// if commanding as ordinary user
$ sudo apk add sshd

// if as root
# apk add sshd

// start temporarily
$ sudo rc-service sshd start
// if permanent startup is wanted
$ sudo rc-update add sshd

https://wiki.postmarketos.org/wiki/SSH
  Reply


Messages In This Thread
RE: SSH from Windows PC into PinePhone? - by zetabeta - 06-05-2022, 05:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone Pro Neural Processing Unit biketool 0 336 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 596 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 1,931 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 352 03-08-2025, 02:43 PM
Last Post: lupyuen
Star Selling my Pinephone Pro Explorer Edition zheyon 0 720 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 984 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 21,091 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 6,873 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 9,271 12-05-2024, 04:38 PM
Last Post: tllim
  Pinephone compatibility with Telstra, now that 3 G shutdown and 5 G available tracyanne 0 677 12-04-2024, 10:53 PM
Last Post: tracyanne

Forum Jump:


Users browsing this thread: 2 Guest(s)