| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| X-YMail-OSG: | TLaTXXUVM1ktc49IKHopqlRc63cKUil5wxPV7mHos6n9GZvGJwgb2EUiYXe.AHdj28vCO4Nz2WFVjRhxzs5drTewS7eVUg16T9CSzfpAtpcHcDfdpUOwYtb8RRORmzpfaQhlUdENVjx78xSRXz9C3VQoutwamg_BcETFcDt2 |
| X-Mailer: | YahooMailWebService/0.7.260.1 |
| Date: | Mon, 17 Nov 2008 13:24:17 -0800 (PST) |
| From: | TheO <idgajelas AT yahoo DOT com> |
| Subject: | SFTP doesn't work with ChrootDirectory option set |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| Message-ID: | <97725.5279.qm@web34701.mail.mud.yahoo.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |