• green@feddit.nl
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Wouldn’t you just use AFS, CEPH, NFS, or 9p?

    I really don’t want to be that guy, but isn’t SSHFS (FUSE) actually a terrible option when compared to an actual file-system? MacOS isn’t really missing out on much there.

    The most painful part of MacOS (which makes it downright unbearable for me) is that system configuration files are XML. It’s an absolute nightmare.

    • cmnybo@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      SSHFS is secure and works well over the internet. If you only want to access it over the LAN, then NFS is a much better option.

      • qjkxbmwvz@startrek.website
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        For some (most?) of us, we don’t have ssh access open to the world, so everything is over a VPN. So I can just use NFS over WireGuard which afaik is fairly secure, if you trust your endpoints, and works great over the Internet.

        • cmnybo@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          I’ve never had good luck with NFS on a high latency connection. SSHFS still works fine even if the server is on the other side of the planet.

    • Limonene@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      SSHFS is very mature. I use it for administering several home servers.

      It works so well that they added a mode where some users can have SFTP only access (without SSH shell) so you can set up shared directories. It was easier to set up (for me) than CIFS or NFS.

    • Synestine@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      SSHFS uses SFTP which is built into SSH, so no server to install. Its not as fast as NFS, but requires no setup. For something small like a home lab, that is a big advantage.

      • utjebe@reddthat.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        This. Surely not the fastest way to get content from/to a remote computer, but it just works as soon as you enable sshd.

  • Korhaka@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Used sshfs at work the other day for SFTP. Wanted to do a recursive search and it didn’t seem possible with filezilla on my Windows laptop. Started my Linux VM and sshfs followed by find/grep to get the info I needed.

    • Aux@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years ago

      WinSCP is a much better client. Also use WSL2 instead of VM.

      • Korhaka@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        I do other things with the VM as well, I would rather just use desktop Linux all the time.

      • fartsparkles@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        NFS is insecure out of the box so typically tunnelled over TLS (not seen it done over SSH since why bother if there’s SFTP?).

        I’d rather a desktop app or a terminal app for remote file systems than install a kext on a mac. Like, kicking stuff out of the kernel was an excellent idea.

        FUSE would knock over my old mac anytime a transfer was longer than an hour or two. Not to mention the vulnerabilities poorly developed or maintained kexts introduce.

        • macniel@feddit.org
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          for that I then just use VPN/Wireguard if I really need to access my home server remotely off-site.

        • dblsaiko@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          2 years ago

          NFS is insecure out of the box so typically tunnelled over TLS

          Set up Kerberos, it will also give you correct file ownership and then you don’t need any additional tunnel.

          • dblsaiko@discuss.tchncs.de
            link
            fedilink
            arrow-up
            0
            ·
            2 years ago

            Eh, works for me for home use. I just have it running on the same machine as the NFS server. The only thing that bothers me is that I can’t use normal Kerberos for SMB, I’d have to set up Samba AD. Boooo

            I even managed to make it work with just mDNS as I’m currently in a horrible network I don’t control.

  • kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Running both Linux and macOS on a daily basis… They’re both completely competent, and have basically the same amount of rough edges once you dig in and get your hands dirty. If you find one of them impossibly difficult, it’s a skill issue.

    • beirdobaggins@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      The meme is talking about sshfs.

      For smb, the share would need to be created first.

      Sshfs is pretty nice because it will give you access to all of the files that on the server that you have permissions to access.

  • muusemuuse@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 years ago

    I use both of these systems daily. They have some issues but are just fine for me. Honestly, they are just opposite extremes and I respect that. They each chose a side.

    Whereas windows makes me scream. It’s absolute horseshit that pretends to claim some middle ground that makes no one happy.

  • OhStopYellingAtMe@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    I have a pc I use as a dedicated file server, and a MacBook which connects seamlessly to that file server via my home WiFi, and I stream movies easily. My AppleTV and iPad stream from it too, no problem. I don’t look like that guy on the right. Am I doing something wrong?

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    Isn’t MacOS based on a Unix kernel? Or did they evolve away from the core principle of treating everything as a file?

    • Jankatarch@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Macos kernel is a mix of freebsd and mach. It’s half UNIX from BSD side.

      It’s currently growing up like a teen wanting to be business major cause they resent their artist dad for being an artist or a math teacher instead of working in finance.

      “Oh what does my dad do for living? He is like that redhat linux, in a way.”

    • stoly@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      You’re correct. Also you can sync files across all devices, built in. The meme is a bit fart sniffy.

      • MehBlah@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        I knew that one was bullshit or probably just simple ignorance. I use ssh and scripting to control my macs. Its easier than using ios depressing GUI tools.