Help for this page

Select Code to Download


  1. or download this
    my $output1 = $ssh->capture('sh run');
    my $output2 = $ssh->capture('sh ver');
    
  2. or download this
    my ($pty, $pid) = $ssh->open2pty;
    
  3. or download this
    my $output = $ssh->capture({stdin_data => "ssh ver\nexit\n"})