S
S
soondook2016-01-25 14:55:56
SSHFS
soondook, 2016-01-25 14:55:56

OpenSSH/SFTP for Windows. How to configure fstab..?

Hello dear community!
Like many of you, one day the question arose of moving from FTP to more secure forms of access to remote servers. Naturally, the choice fell in the direction of free OpenSSH (Copssh with OpenSSH 7.1 - in this case, this is the implementation of OpenSSH from Cygwin, but this does not change the essence of the matter).
Purpose: to set up secure SFTP on remote video servers (based on WinXP / 32), with authorization by keys, port forwarding, etc., and generally secure access .
In general, everything turned out, everything works.
example section snippet of my sshd_config

Match User video
        ForceCommand   internal-sftp
        ChrootDirectory   /video
    AllowTcpForwarding yes
    MaxSessions 10
    PasswordAuthentication no
    PubkeyAuthentication yes

and here is the fstab fragment:
C:/Program\040Files/ICW / ntfs override,binary,noacl 0 0
D:/video /video ntfs override,binary,noacl 0 0[/B]
C:/Program\040Files/ICW/ bin /usr/bin ntfs override,binary,noacl 0 0
C:/Program\040Files/ICW/lib /usr/lib ntfs override,binary,noacl 0 0
C:/Program\040Files/ICW/etc/terminfo /usr/ share/terminfo ntfs override,binary,noacl 0 0
none /cygdrive cygdrive binary,posix=0,user,noacl 0 0
! And now, attention to the question for connoisseurs :
in the D:/video directory - the actual video folders - 300-400 folders (each folder contains 2000-5000 thousand *.jpg files) - when I remotely go to the video folder (WinSCP, FileZilla, BASH - no matter what), the folder with files opens TERRIBLY slowly! Those. Listinu files work out somehow wildly tomoznuto! What does the speed of the channel, compression, encryption - does not play a role! Folders with 300-400 files open instantly! What is strange - when using the usual SlimFTPd - this does not happen and even the largest folders open very quickly!
I sin on cygdrive and fstab - after all, this is ported shnyaga, and perhaps this is the bottleneck of this implementation.
I've been struggling with this problem for two months already, rummaged through half the Internet - this problem is not clearly described anywhere. How to deal with it, where to dig? I am in despair .... I ask the audience for help! I would be grateful for any advice!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question