Re: [PBML] Perl/Expect
- Thank you for the response.
It goes to the die statement for the third command :
did not detect password at
I think I should start using the Net::SSH module.
But this looked simple enough. I just wanted to understand
why it would not work.
--- In firstname.lastname@example.org, "Peter L. Berghold" <peter@...>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Thomas George Simon wrote:
> > The first two commands work, but the third one fails.
> How is it failing? What sort of error(s) are you seeing?
> For what it is worth, you might look at using Net::SSH::Expect instead
> of Expect for this particular application. I've used it a lot with a
> great deal of success.
> - ----
> Peter L. Berghold Unix Professional
> Peter@... AIM: redcowdawg YIM: blue_cowdawg
> "Those who fail to learn from history are condemned to repeat it."
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----