delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/23/08:35:12

X-Spam-Check-By: sourceware.org
Date: Wed, 23 Aug 2006 08:34:50 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
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: <DDD2A362143D344CA87EE05C3BE1E95B01283315@wsgpmb02.sgp.agilent.com>
Message-ID: <Pine.GSO.4.63.0608230830500.11380@access1.cims.nyu.edu>
References: <DDD2A362143D344CA87EE05C3BE1E95B01283315 AT wsgpmb02 DOT sgp DOT agilent DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 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 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/

- Raw text -


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