X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.1 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <5FFFAB3EC03D09468D160693F176A1174EE2A924@CANOPUS>
From: Bob Goldberg <bgoldberg@homeaccess.com>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: Re: endless problems with SSHD - bug ??
Date: Wed, 18 Aug 2010 12:27:40 -0500
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 8/17/2010 Larry Hall wrote:
>On 8/17/2010 5:28 PM, Bob Goldberg wrote: 
>>
>>
>>I simply want to copy files from 1 pc to another using a script initiated
by
>>either a user or cron entry. Ideally this would happen using scp into a
>>chroot'ed environment.
>
>chroot on Cygwin is completely faked.  Don't use it.  It will cause
>headaches.
>
>
>As for your problem with ssh <command>, you've apparently missed this
>appropriately titled tidbit in your googling:
>
><http://www.cygwin.com/ml/cygwin/2000-07/msg01050.html>
>
>
>This may just be because you're trying to use 'rbash' as your login shell.
>I didn't test that theory.
>

Larry - Tx much for your reply...

well even if chroot is "faked" (not sure what that means) - I might still be
inclined to use it...

Unless - is there a way I can LIMIT activity to only "scp"?
AND - prevent accessing outside what would be my "jail"?

I certainly did miss that very well titled document - no wonder my searches
were fruitless!! :-)  I'll check to make sure the path is getting set
correctly. Although, if I get scp running like I want, then I no longer
need/care about resolving this problem....

TIA - Bob

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

