delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/25/12:41:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <42E51602.90908@familiehaase.de>
Date: Mon, 25 Jul 2005 18:40:34 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: Lucy Upchurch <lucy AT orion DOT duhs DOT duke DOT edu>
CC: cygwin AT cygwin DOT com
Subject: Re: [Fwd: Cygwin 1.5.9 on Windows XP using ssh within perl]
References: <42E00CB4 DOT 3010500 AT orion DOT duhs DOT duke DOT edu>
In-Reply-To: <42E00CB4.3010500@orion.duhs.duke.edu>
X-IsSubscribed: yes

Lucy Upchurch wrote:

> Hi,
> 
> I have a perl script running on another machine.  within the perl script 
> I do an ssh to the XP machine running cygwin 1.5.9.  The command I use is:
> 
> ssh XPPC dir /home/myfiles
> 
>  >From within the perl script I receive the following error:
> 
> Remote pc cmd failed:  ssh XPPC dir /home/myfiles
> 
> If I do this same command from a shell remotely, it gives me a listing 
> of my directory on the pc.
> 
> I have generated all my keys so I am not prompted for a password from 
> the command line. Do I need something to redirect my output to the 
> remote machine?  I am just trying to count the files within the directory.
> 
> Thanks for any assistance.


Send a simple testcase please (per script with relevant parts).

And please attache the output of cygcheck -svr according to the
guidelines from here: http://cygwin.com/problems.html


Gerrit

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