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