7
7
7761662021-06-04 16:16:20
linux
776166, 2021-06-04 16:16:20

How to set up file sharing via ssh?

It is necessary to organize a file storage for several people who can sit, including under win, and be ordinary, not advanced users.
1) access based on ssh (ssh/sftp/sshfs) and some kind of client for it.
2) one person, one login to the system
3) the file space is the same for everyone, everyone can write and read.

What is the best way to organize this? From the server side. Rights and all. Maybe there are ready-made solutions besides sshd?
Probably the coolest way is sshfs with mounting disks, because it's native.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
res2001, 2021-06-04
@res2001

If users are on the same local network, then ssh is redundant, use standard tools: screw balls / samba.
If you need access from the Internet, then you can use sshfs. Or some kind of WebDAV.

7
776166, 2021-06-04
@776166

Sounds delicious.
There is planned access through VPN, which will ensure security. I raised Samba, it has been working for me for 10 years. Good stuff.

V
Victor Taran, 2021-06-04
@shambler81

the best option is to share a samba ball via CIFS
from the pluses it is seamless, both on Linux and on Windows, these will be ordinary balls
, multiplatform basic solutions in all OSes, without crutches and magic,
and most importantly, this is the only one of the protocols sharpened to work with a large number of files.
In short, this is the only protocol that will work abnormally (performance with a large number of files)
, all the rest will even weigh the folder for several hours.
and if you just transfer a couple of files, then any up to ftp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question