This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: "Permission Denied" while accessing data under sharing folder via SSH
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: yu-ting_liu at agilent dot com
- Cc: cygwin at cygwin dot com
- Date: Wed, 23 Aug 2006 08:34:50 -0400 (EDT)
- Subject: Re: "Permission Denied" while accessing data under sharing folder via SSH
- References: <DDD2A362143D344CA87EE05C3BE1E95B01283315@wsgpmb02.sgp.agilent.com>
- Reply-to: 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@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/