Anyway, try replacing Net::SSH::Perl and Net::SCP::Expect usage by Net::OpenSSH.
In reply to Re: Perl (Net::SSH::Perl) script sometimes hangs while running remote command but shell script works
by salva
in thread Perl (Net::SSH::Perl) script sometimes hangs while running remote command but shell script works
by Technext
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |