in reply to Net::SSH::Perl doesn't like long commands

Replies are listed 'Best First'.
Re^2: Net::SSH::Perl doesn't like long commands
by pattyj (Novice) on Jun 10, 2013 at 11:40 UTC
  • Issuing the command in an interactive shell works fine.
  • The script fails when length($cmd) is > 23117.
      With $host as "localhost", the script works (but fails sshing to an identical machine).