can't get file transfer working. Help, please!
#21
Replace known_hosts to known_hosts.bak and try again

Wysłane z mojego CLT-L29 przy użyciu Tapatalka
  Reply
#22
a useful idea, streak. Unfortunately, still no go. Confused

walter1950: my problem is the pinephone doesn't show up as an option. I can ping it, but all the packages (easyssh, filezilla, sftp, ftp for that matter) don't see it. Usually the error message after entering manually is something like "hostname not specified." It's mobian@mobian, isn't it? So: user: mobian, hostname: mobian

Obviously, if I have that wrong, then that's a problem.... :/

I think you're right about "overconfigured"!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OS: Mobian Bookworm, Phosh. Pinephone Braveheart from 2020-02-11
  Reply
#23
@quixote, if you're using the hostname "mobian" do you have its IP address in your /etc/hosts or local DNS? (I have my home DHCP server set up so the Pinephone is always assigned the same IP address when it boots up. Makes things easier.)
  Reply
#24
For anyone reading this thread to figure out file transfer via ssh on mobian I recommend you ignore the above and start here.

Install openssh-server on the pinephone.

1. Generate a key (on the client machine) and copy it up to mobian:
https://wiki.mobian-project.org/doku.php...f-password

  *** (IMPORTANT NOTE: When prompted for a yes/no answer by openssh always type the FULL word.. for example type "yes" not just "y".)

   OPTIONAL: Use USB-C instead of WiFi: (highly recommended): https://wiki.mobian-project.org/doku.php...networking

2. (On the client machine) Add a "Bookmark" to your favorite File Manager that points to: "sftp://mobian@10.66.0.1/" (modify IP address accordingly)

   OPTIONAL: You can set (on the client machine) an alias(s) for your ssh server(s). Here is a guide: https://www.linuxnix.com/5-ssh-alias-exa...nfig-file/ . Then your file manager bookmark will look more like "sftp://mobian/"

Cheers.
  Reply
#25
(05-28-2021, 08:59 AM)MtnSk8 Wrote:    OPTIONAL: You can set (on the client machine) an alias(s) for your ssh server(s). Here is a guide: https://www.linuxnix.com/5-ssh-alias-exa...nfig-file/ . Then your file manager bookmark will look more like "sftp://mobian/"

My preference is to use avahi and .local hostnames, so that any machine on the lcoal network can resolve the hostname no matter what its IP address.

On mobian:
Code:
apt-get install avahi-daemon libnss-mdns

Then whatever the hostname is (e.g. "mobian"), I can access it at mobian.local, no other configuration required.

libnss-mdns is installed to enable the reverse, resolving local hostnames from the Pinephone.
  Reply
#26
If you have the docking station, just connect a usb stick with your files and do a '/mount/sda1 /home/*'
  Reply
#27
I'm now on Mobian-Phosh running bookworm. Possibly I somehow had the wrong IP in the bad old days? ??

Anyway, I tried it again after many moons:

Code:
$ip a
to find the ip

Code:
$ssh mobian@192.168.0.68
on the laptop, and it connected and has been working perfectly. No fuss, no muss.

Go figure.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OS: Mobian Bookworm, Phosh. Pinephone Braveheart from 2020-02-11
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  MMS via Verizon quit working treebeard 0 37 05-18-2022, 03:06 PM
Last Post: treebeard
  Cellular data is working! drh 0 65 05-15-2022, 09:02 AM
Last Post: drh
  Telephony stopped working biketool 5 680 03-06-2022, 03:30 AM
Last Post: biketool
  Mobile internet via cellular network mostly not working Anna 17 1,880 02-28-2022, 02:51 PM
Last Post: TRS-80
  PIN not working (new?) anotherdavidlevin 0 214 01-31-2022, 12:41 PM
Last Post: anotherdavidlevin
  Phone mic isn't working at all D347h 2 466 01-26-2022, 07:34 AM
Last Post: D347h
  Programs unable to open display via sudo or pkexec (linssid not working) Zebulon Walton 4 1,634 01-17-2022, 01:58 AM
Last Post: vusra
  This Qutebrowser config file made browsing on the PinePhone great again ryo 0 390 01-05-2022, 05:49 PM
Last Post: ryo
  Help! Audio stopped working Barugon 4 1,115 11-03-2021, 10:58 AM
Last Post: Barugon
  File Transfer With Bluetooth food 0 384 10-29-2021, 11:00 AM
Last Post: food

Forum Jump:


Users browsing this thread: 1 Guest(s)