Help for this page

Select Code to Download


  1. or download this
    sub checksudo {
    my ($ssh, $ip, $pass) = @_; #$ssh is the successfully created openssh 
    +object, $pass is the user's sudo password
    ...
    #$expect->interact();
    return;
    }
    
  2. or download this
    tcsetattr: Input/output error
    
  3. or download this
    tcsetattr: Input/output error
    channel 0: chan_read_failed for istate 1