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
  Short Guide to Using OpenVPN client GUI and .ovpn config file on PP biketool 0 101 12-16-2024, 02:07 PM
Last Post: biketool
  Calls 4G not working oliwierzgorniak 2 2,279 08-06-2024, 02:20 PM
Last Post: baptx
  Mobile internet via cellular network mostly not working Anna 18 14,207 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 2,765 01-17-2024, 05:53 PM
Last Post: anonymous
  APN settings not working with new operator SIM card user641 1 1,452 03-01-2023, 04:43 PM
Last Post: anonymous
  Possible Solution for Microphone Not Working Ferriah 0 1,236 02-13-2023, 01:09 PM
Last Post: Ferriah
  Squeekboard stopped working Zebulon Walton 2 1,709 11-24-2022, 08:41 PM
Last Post: Zebulon Walton
  suspend inhibit no longer working jsch 3 2,754 10-23-2022, 09:20 AM
Last Post: LibrePhoneUser
  low disk space on file system root revisited benedikt55 2 2,154 09-24-2022, 10:16 AM
Last Post: benedikt55
  Rescue Your Mobian post Update Aug22 faster fix to working guide biketool 9 6,927 09-05-2022, 12:10 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 8 Guest(s)