• 1 Post
  • 30 Comments
Joined 1 year ago
cake
Cake day: October 1st, 2023

help-circle
  • This is how NFS works. Making sure that usernames and userids match on all of your servers will fix this and is by far the simplest solution. If it didn’t work, you probably just made a typo somewhere.

    Other options.

    Use an LDAP serer (I like LLDAP) to provide a single user database for all your servers. This has lots of advantages (can provision users and change passwords for all servers in a single place). But it is fixing your problem in the same way as above (making usernames and user ids match on all of your servers).

    Use Samba/CIFS instead of NFS. Because you authenticate with a user/pass all actions happen as the user you authenticate and so local user permissions don’t matter.






  • In my opinion, they do different things.

    SFTP/SCP are great ways of transferring files between computers. I prefer rsync for most things because it can resume transfers and checksum results. I’d never use FTPS because SFTP/SCP comes with SSH, and why run a separate service? SSHFS is another way to use SSH to transfer files (it mounts a remote file system to your local computer so you can use all your normal file management tools).

    NextCloud (and similar) do a bunch of additional things:

    • Provides clients which sync files to your local computer
    • Provides a web interface for managing files
    • Provides ways to share files without creating accounts
    • Allows connecting external storage (eg. S3)
    • Provides encryption
    • And a lot more

    If SFTP does everything you need, that’s awesome. Use it. :-)
















  • Assuming it’s a Linux server at home and you can use SSH on your work computer, there’s a couple ways to do this.

    • Install a web based terminal client
    • Setup Cloudflare tunnels on your home server and use the the SSH proxy. I do this with a simple helper in ~/.ssh/config:
    Match host "*.cf"
      ProxyCommand /usr/local/bin/cloudflared access ssh --hostname $(echo %h | sed 's/\.cf$/.homelab.nz/')
      ForwardAgent yes