Better alternatives are Net::SSH2 and Net::OpenSSH.
In reply to Re: Net::SSH::Expect timeout/delay issue by salva in thread Net::SSH::Expect timeout/delay issue by sierpinski