I have SSHFS on my server and would like to have it automatically mounted and store all of the documents, desktop, downloads, etc. on a couple computers. I am able to get it to all work except for mounting on startup. The server is Debian 12 and both clients are Tumbleweed. Nothing in fstab seems to work. When I add x-systemd.automount, well, at best programs that try to use it crash and at worst I have to go through recovery mode to get the system to boot properly. I am using ed25519 keys with no passwords for authentication. Does anyone know how I could get this to work?

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    4
    ·
    10 months ago

    store all of the documents, desktop, downloads, etc. on a couple computers

    Why use SSHFS for that? I recommend using Syncthing, it’s great for synchronizing stuff across multiple PCs (local and remote).

    • atzanteol
      link
      fedilink
      English
      arrow-up
      12
      ·
      10 months ago

      Why use SSHFS for that?

      So that you don’t have copies of files everywhere.

    • HumanPersonOP
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      10 months ago

      I don’t really know what that is. I could try it though.

      Edit: I don’t really like having the files on all computers, I would rather just have them all in a central place where everything can access them.