in reply to Re^5: Net::OpenSSH multiple commands
in thread Net::OpenSSH multiple commands

my working solution has been provided on the main page.