This is the mail archive of the
mailing list for the Cygwin project.
Re: Executing ssh from perl
Stephen Studley wrote:
one very interesting discovery. If the command fails, it returns! It
would appear it hangs only when the command succeeds. If I mangle the
path to the ls command, ssh returns with file not found.
$ perl -we 'my $str=`ssh -n gerrit\@sourceware.org ls`;print "[$str]\n"'
Enter passphrase for key '/home/gerrit/.ssh/id_dsa':
Works for me too if it succeeds.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html