Help for this page

Select Code to Download


  1. or download this
    ($out,$err) = $ssh->capture2({stdin_data => 'yes'}, "cfgsave");
    
  2. or download this
    my $answers = ['yes', 'no', 'wait', 'sorry'];
    ($out,$err) = $ssh->capture2({stdin_data => $answers}, "cfgsave");