Are you using the Pinephone as your daily driver?
(01-06-2023, 09:45 AM)britelite Wrote: the inability to transfer files besides an awkward workaround of pulling out a microsd card (I couldn't figure out proposed SSH or syncthing or other solutions, although they apparently work for others - I think this is solvable but I saw even a recent post where someone was struggling with it and I couldn't follow along with their solution. This was a major use case functionality failure, as I wanted to type things up and transfer them over off the Pinephone and was unable to do so - I had expected I could just plug the device in to a computer or a usb stick to transfer files back and forth);
SFTP should just work for transfering files. Make sure sshd is enabled on the PinePhone:
  • First check your /etc/ssh/sshd_config on the phone to make sure it is reasonably secure. In particular, you want these:
    Code:
    PermitRootLogin no
    PasswordAuthentication no
    ChallengeResponseAuthentication no
    because, considering how trivial the PIN-style user passwords normally used on Plasma Mobile are, you definitely do not want to rely on those for authentication. Instead, put your desktop/notebook's public key in the PinePhone's ~/.ssh/authorized_keys. (Only if you cannot figure out a way to set this up without using SFTP, copy the file over SFTP with password authentication temporarily enabled and then immediately disable it. But it is more secure if you transfer the public key using a USB stick or a MicroSD card.)
  • Enable sshd with
    Code:
    sudo systemctl enable --now sshd.service

Then whenever you wish to transfer files from/to the PinePhone:
  • Make sure both your desktop/notebook and your PinePhone are connected to the same WLAN (wireless local area network, i.e., WiFi network).
  • Run
    Code:
    ip addr
    on the PinePhone to figure out its current IPv4 address. (If you are on your home network, you can probably get your WiFi router to assign a static IP address that you can then, if you cannot or do not want to remember it, give a static name through the /etc/hosts file on your desktop/notebook.)
  • Point your favorite GUI file manager on the desktop/notebook to sftp:// + the IPv4 address you got above. (Pretty much any GNU/Linux GUI file manager supports SFTP out of the box.)

It is really no different than transfering files between 2 GNU/Linux computers.
  Reply


Messages In This Thread
RE: Are you using the Pinephone as your daily driver? - by Kevin Kofler - 01-26-2023, 07:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone Pro Neural Processing Unit biketool 0 387 03-26-2025, 11:01 AM
Last Post: biketool
  contact sales pinephone janjansen1312 2 664 03-17-2025, 07:29 PM
Last Post: tllim
  PinePhone Pro P. Siera 4 1,999 03-14-2025, 07:00 PM
Last Post: Kevin Kofler
  [Article] PR Test Bot for PinePhone (Avaota-A1 SBC / Apache NuttX RTOS) lupyuen 0 397 03-08-2025, 02:43 PM
Last Post: lupyuen
  Modem crashes worsening from daily to multiple times a day + sms delaysFor people car bacydentir85 2 819 02-03-2025, 01:34 PM
Last Post: biketool
Star Selling my Pinephone Pro Explorer Edition zheyon 0 764 01-31-2025, 02:27 PM
Last Post: zheyon
  PinePhone earpiece too quiet Waffelo 3 1,052 01-01-2025, 09:41 PM
Last Post: Kevin Kofler
Question WhatsApp & Pinephone - What are the alternatives for collaborative comms? danimations 15 21,224 12-27-2024, 03:02 AM
Last Post: biketool
  eSIM on PinePhone just_a_q 9 7,018 12-25-2024, 04:16 AM
Last Post: zetabeta
  US Mobile, via T-Mobile, won't support Pinephone Pro - SOLVED, SIMPLY jovval 13 9,446 12-05-2024, 04:38 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 2 Guest(s)