Help for this page

Select Code to Download


  1. or download this
      options => [ 
          q{BatchMode yes}, 
          q{ConnectTimeout } . $connect_timeout_in_sec, 
          q{TCPKeepAlive yes}, 
      ],
    
  2. or download this
        eval { ( $stdout, $stderr, $exit ) = $ssh->cmd($cmd); };
    
        if ($@) {
            # Do something as a result
        }