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

why you don't copy the error message from your command here?
  • Comment on Re^2: Net::SSH::Expect command returns command itself

Replies are listed 'Best First'.
Re^3: Net::SSH::Expect command returns command itself
by Sterh (Novice) on Oct 10, 2012 at 01:29 UTC

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