This is the mail archive of the
mailing list for the Cygwin project.
SFTP doesn't work with ChrootDirectory option set
- From: TheO <idgajelas at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 17 Nov 2008 13:24:17 -0800 (PST)
- Subject: SFTP doesn't work with ChrootDirectory option set
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:
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?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html