#!/usr/bin/perl -w use Net::SSH::Perl; $ssh = Net::SSH::Perl->new("xxxx"); $ssh->login("xxxx","YYYY"); ($stdout, $stderr) = $ssh->cmd('df -k'); print $stdout; $ssh->cmd("exit");
I installed Net::SSH::Perl-1.8 vesion on perl 5.8.8 version
on windows platform,
after executing the above code i am getting an arror as below
ERROR:The getpwuid function is unimplemented at C:/Perl/site/lib/Net/SSH/Perl.pm line
110.
Monk's can anyone help me out on this task.
In reply to Problem to connect remote host by perladdict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |