X-Spam-Check-By: sourceware.org Date: Wed, 23 Aug 2006 08:34:50 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: yu-ting_liu AT agilent DOT com cc: cygwin AT cygwin DOT com Subject: Re: "Permission Denied" while accessing data under sharing folder via SSH In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/