This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Lock down CYGWIN SSH User to single directory.
- From: René Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 17 Nov 2005 13:30:45 -0600
- Subject: Re: Lock down CYGWIN SSH User to single directory.
- Openpgp: url=ldap://keyserver.pgp.com
- References: <loom.20051117T181458-376@post.gmane.org>
JMCColorado wrote:
> Is there any way to only allow a user SSH access to a single directory tree?
> I need to lock the user out of EVERYTHING else.
You need something like this:
http://olivier.sessink.nl/jailkit/index.html#intro
It hasn't been tested under the Cygwin environment and it's not trivial to install.
Another option is to use a patched sshd that suports 'ChrootGroups' or
'ChrootUsers', there is:
http://chrootssh.sourceforge.net/
Since chroot is part of the Cygwin's coreutils package, it may work.
I haven't used any of these, nor do I need it (so far), but it would be
interesting to hear if anyone had any success with this.
HTH
--
René Berber
--
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/