Skip Menu |

This queue is for tickets about the Net-OpenSSH CPAN distribution.

Report information
The Basics
Id: 51035
Status: rejected
Worked: 20 min
Priority: 0/
Queue: Net-OpenSSH

People
Owner: Nobody in particular
Requestors: huimin.zhou [...] alcatel-lucent.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: execute capture(@command) using Net-OpenSSH-0.39.tar.gz error => sh: display : not found
Date: Mon, 2 Nov 2009 11:47:22 +0800
To: <bug-Net-OpenSSH [...] rt.cpan.org>
From: "ZHOU Huimin" <Huimin.Zhou [...] alcatel-lucent.com>
Hello, Integrate openssh-5.0 in embedded machine, and on the openssh-5.0 platform, new commands have been developed, such as display command . BUT error occur => sh:display: not found remote find command failed: child exited with code 127 at pro.pl. following is the program pro.pl: Show quoted text
>>use Net::OpenSSH; >>my $ssh = Net::OpenSSH->new('root@ip', password => "pass"); >>my @result = $ssh->capture("display"); >>$ssh->error and >> die "remote find command failed:".$ssh->error;