in reply to Net::OpenSSH pass command
Enable debugging on Net::OpenSSH and/or ssh in order to see what is going on:
# Before using Net::OpenSSH: $Net::OpenSSH::debug = ~512; ... # And then, on the constructor my $ssh = Net::OpenSSH->new(..., master_opts => '-vvv');
In Section
Seekers of Perl Wisdom