61
Samba vs NFS vs SSHFS ?
(lemmy.ml)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
NFS : historically insecure by default. Don't know about Kerberos making it secure but Kerberos does not look easy to configure.
sshfs : probably most easy to setup. Can be confusing with ownership and permissions sometimes.
Samba : solid but has a learning curve, even for a simple setup. For example, for a standalone Samba server omitting the Active Directory part, you need to know that in order to create a Samba user you must first have created a local user with the same username.
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server
And the worst option if you have Windows clients.
Thank you for the hint ! Yeah it's in a multiOS environement.
I am wondering if someone can recommend any libre sshfs client for windows7+ preferably that could be installed as a portable app ?
SSHFS is a client not a server. If you want to access SFTP / SSH “shares” from Windows WinSCP and Cyberduck are good options.
Thanks for the link :) I have already setup a samba share (actually I have setup all 3 on my server xD). But Didn't knew they have a whole tutorial on it :) Thanks for the resource, I think I will stay with samba :) Looks the most versatil and has also "easier" security function setup. I mean I don't think I need Kerberos in my homelab setup and SSHFS... Yeah people tend to argue it's a pain in the ass with Windows !
Nice :) With Samba you can also create guest entries without passwords for visitors while having your private files behind your own login. Here an example of guest access : https://std.rocks/gnulinux_samba_no_password.html
And apart from that Samba should be fine for access from MacOS and Windows clients unlike with the ancient NFS, which I expect to be more troublesome to connect especially on Windows, though that is a wild guess.