Bonjour,
J'ai un ptit pb avec un script qui ne fonctionne pas. Pouvez-vous m'aider ?
use Net::SSH:

erl;
my $ssh = Net::SSH:

erl->new(Host => 'xxx.xxx.xxx.xxx');
$ssh -> login('','');
my($stdout,$stderr,$exit) = $ssh -> cmd('sh arp');
msg d'error:
Odd number of elements in hash assignment at D:/Debian/lib/Net/SSH/Perl.pm line
36.
Use of uninitialized value $ENV{"HOME"} in concatenation (.) or string at D:/Deb
ian/lib/Net/SSH/Perl.pm line 108.
Net::SSH: Bad host name: Host at tt2.pl line 3
Merci de votre aide -
Partager