This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SFTP doesn't work with ChrootDirectory option set


Hi,

I have Cygwin with OpenSSH version 5.1p1-9 installed.

I managed to make ssh with chroot to work by using ChrootDirectory in sshd_config and copying /bin/bash to the chroot directory.

But I can't make it work for SFTP even when I tried to set:

  ChrootDirectory /

which I expect should be the same as not using chroot at all!. I guess sftp-server simply doesn't support ChrootDirectory option properly. 

Has anybody else experienced the same thing? Can somebody help me in setting up chrooted SFTP server using Cygwin?

Many thanks.


      

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]