Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

VipeR

you are right...

Yes I think problem with openssh from windows.
Because GUI/CLI WinSCP work good.
Sorry for my subj
=(
martin

Re: Problem with ChrootDirectory

This does not look like a WinSCP issue. Or is it? Does WinSCP fail, where other SFTP clients work?
VipeR

Problem with ChrootDirectory

DAY=X
I have WinSRV2019(without DC role)+OpenSSH and client Win10x64+WinSCP5.17
C:\ProgramData\ssh\sshd_config on server
Subsystem   sftp   sftp-server.exe

Match User avtomat
   ForceCommand internal-sftp
   ChrootDirectory C:\AVTOMAT
Client will use batch-file script to sync directories from remote C:\AVTOMAT\SOFT using relative path /SOFT. All work GOOD
DAY=X+1
WinSRV2019(without DC role)=>WinSRV2019(WITH DC role)
Sync directories NOT work with relative path /SOFT
But all work GOOD if I use in script full path C:/AVTOMAT/SOFT
WTF with ChrootDirectory C:\AVTOMAT?