in reply to Re^2: Net::SSH::Expect command returns command itself
in thread Net::SSH::Expect command returns command itself

There was no error message. So solution was to add "\r" at the end of command

  • Comment on Re^3: Net::SSH::Expect command returns command itself