delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/18/13:28:16

X-Recipient: archive-cygwin AT delorie DOT 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 AT homeaccess DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: endless problems with SSHD - bug ??
Date: Wed, 18 Aug 2010 12:27:40 -0500
MIME-Version: 1.0
X-IsSubscribed: yes
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019