N
N
Nikolai Savelyev2018-11-12 07:47:06
linux
Nikolai Savelyev, 2018-11-12 07:47:06

How to organize access to a remote Linux folder?

Good afternoon, colleagues. Maybe someone solved a similar problem, something I don’t even know from which side to approach it.
There is a remote VPS server on Debian 9. The site is spinning on it. Gentlemen, the programmers wanted to bypass the git to write directly to one directory of this site. It is planned to write files from different servers, Windows and Linux.
Previously, sshfs was enough, but now windows also appears.
There is already a file server on windows, which distributes resources to everyone via smb. Is it possible to somehow mount the directory of a remote Linux server to an existing one, so that clients then have access to it with op smb?
What do you advise?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
R
Ruslan Fedoseev, 2018-11-12
@martin74ua

scp - winscp
But as already said - wean programmers to do this.
Let them test on a test server.

I
ivankomolin, 2018-11-12
@ivankomolin

There are sshfs clients for windows as well. Another thing is that they require either shamanism or payment.
Also nobody canceled ftp. For file sharing, this is the most suitable way, compatible with any platform.

D
Dmitry Shitskov, 2018-11-12
@Zarom

For friendship with windows, you can use webdav or nfs without additional software.
And it seems to me that ftp is currently suitable only for anonymous access or those cases where password compromise is not critical.

A
Alexander Chernykh, 2018-11-12
@sashkets

filezilla can ftps/sftp, some IDEs can also ftps
on the server, you need to raise proftpd

I
Ingvar, 2018-11-12
@take

in this chaotic text, if the author will forgive me, there is a key point: this is how we got thermodynamics, help me how to entropy it. I would suggest doing it right. And so - nfs, yes.

S
Sergey c0re, 2019-07-21
@erge

Nikolai Savelyev , and who prevents you from mounting a remote folder via sshfs to the samba server folder?
wouldn't that work, have you tried it?
in order to automatically mount using fstab, you need to configure public ssh keys on the remote and on samba.
or mount like this:
well, in the last resort sftp (scp), under windows there is a good WinSCP
client PS: and yes VPN + NFS is also an option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question