can't get file transfer working. Help, please! - 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: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: can't get file transfer working. Help, please! (/showthread.php?tid=13910) |
can't get file transfer working. Help, please! - streak - 05-19-2021 Replace known_hosts to known_hosts.bak and try again Wysłane z mojego CLT-L29 przy użyciu Tapatalka RE: can't get file transfer working. Help, please! - quixote - 05-20-2021 a useful idea, streak. Unfortunately, still no go. 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"! RE: can't get file transfer working. Help, please! - Zebulon Walton - 05-20-2021 @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.) RE: can't get file transfer working. Help, please! - MtnSk8 - 05-28-2021 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?id=howto:security#using-ssh-with-a-key-instead-of-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?id=howto: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-examples-using-ssh-config-file/ . Then your file manager bookmark will look more like "sftp://mobian/" Cheers. RE: can't get file transfer working. Help, please! - pajux - 05-28-2021 (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-examples-using-ssh-config-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. RE: can't get file transfer working. Help, please! - Rainer - 05-28-2021 If you have the docking station, just connect a usb stick with your files and do a '/mount/sda1 /home/*' RE: can't get file transfer working. Help, please! - quixote - 11-14-2021 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 Code: $ssh mobian@192.168.0.68 Go figure. |