in reply to Re^2: Multiple connections with single Net::OpenSSH object
in thread Multiple connections with single Net::OpenSSH object

Probably, the module that would solve your problem is Net::SSH::Expect. It launches one shell and then runs the commands talking to it, so there is only one login per connection.
  • Comment on Re^3: Multiple connections with single Net::OpenSSH object