Executing ssh from perl

Gerrit P. Haase gp@familiehaase.de
Sat Nov 20 00:28:00 GMT 2004


Stephen Studley wrote:

> At 4:30 PM -0500 11/18/04, Igor Pechtchanski wrote:
>> perl -we 'my $str=`ssh -n user\@machine.domain ls`;print "[$str]\n"'
> good idea, however same results, at least from my Windows machine.
> The command-line perl works fine from my OSX machine.

$ perl -we 'my $str=`ssh -n user\@machine.domain ls`;print "[$str]\n"'
ssh: machine.domain: no address associated with name
[]

Actually this is working with cygwin perl as expected.


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/



More information about the Cygwin mailing list