I have never used that module but did a quick test and got the same behaviour
I added this line from the documentation and it did die
($ssh->read_all(2) =~ />\s*\z/) or die "where's the remote prompt?";
Looking in the logs on the machine I was accessing it was a problem with the password. Hope that helps, sorry I don't have time to test further right now.
In reply to Re: Net::SSH::Expect problem
by rnewsham
in thread Net::SSH::Expect problem
by finfan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |