in reply to use Net::SSH::perl to execute multiple commands

Are you connecting with SSH protocol 1 or 2? Try to connect with 2 if you can. Or see if you can send all the commands at once as already suggested.
  • Comment on Re: use Net::SSH::perl to execute multiple commands