in reply to Net::SSH::Perl doesn't execute commands
See the first entry in the Net::OpenSSH FAQ for an extended explanation.