Help for this page

Select Code to Download


  1. or download this
    SSHProcessError The ssh process was terminated. at line xxx
    
  2. or download this
           my $ssh = Net::SSH::Expect->new (
                    host => "$current_server",
    ...
            # I've tried to capture $@ or $! here but it never gives me an
    +ything useful
            ($ssh->read_all(2) =~ />\s*|$\s*\z/) or die "where's the remot
    +e prompt?";
            $ssh->exec("stty raw -echo");