05-19-2021, 11:59 AM
Replace known_hosts to known_hosts.bak and try again
Wysłane z mojego CLT-L29 przy użyciu Tapatalka
Wysłane z mojego CLT-L29 przy użyciu Tapatalka
can't get file transfer working. Help, please!
|
05-19-2021, 11:59 AM
Replace known_hosts to known_hosts.bak and try again
Wysłane z mojego CLT-L29 przy użyciu Tapatalka
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"!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OS: Mobian Bookworm, Phosh. Pinephone Braveheart from 2020-02-11
05-20-2021, 07:11 PM
@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.)
05-28-2021, 08:59 AM
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.
05-28-2021, 05:06 PM
(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.
05-28-2021, 06:53 PM
If you have the docking station, just connect a usb stick with your files and do a '/mount/sda1 /home/*'
11-14-2021, 10:50 PM
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.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OS: Mobian Bookworm, Phosh. Pinephone Braveheart from 2020-02-11 |