X-Spam-Check-By: sourceware.org
Date: Wed, 23 Aug 2006 08:34:50 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: yu-ting_liu@agilent.com
cc: cygwin@cygwin.com
Subject: Re: "Permission Denied" while accessing data under sharing folder  via SSH
In-Reply-To: <DDD2A362143D344CA87EE05C3BE1E95B01283315@wsgpmb02.sgp.agilent.com>
Message-ID: <Pine.GSO.4.63.0608230830500.11380@access1.cims.nyu.edu>
References: <DDD2A362143D344CA87EE05C3BE1E95B01283315@wsgpmb02.sgp.agilent.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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 Wed, 23 Aug 2006, yu-ting_liu wrote:

> My script is ssh logging to remote PC A and running some commands there
> without inputting password as I have set up the .ssh/authorized_keys
> file under the account on remote PC A. Now I have encountered the
> problem that when my script needs to access PC A's data under the
> network folder shared by PC B, it complains "Permission Denied". Finally
> I found that to access the shared data I have to remove the
> authorized_keys file. But If I remove the authorized_keys file my script
> needs manually input password while it's running. So anybody know how to
> solve this tricky issue. Thanks!
>
> Two PCs are Windows 2000 platforms and have Cygwin installed.

Corinna has, in fact, replied to a message about this very issue not two
hours before your message.  A Google search for "cygwin ssh authorized
keys shares" (all keywords from your message) shows some useful results.
Not only that, it's a FAQ:
<http://cygwin.com/faq/faq.using.html#faq.using.shares>
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/

