http://www.perlmonks.org?node_id=1041171


in reply to Re^2: Off Topic: Looking for good Expect scripts
in thread Off Topic: Looking for good Expect scripts

True, interacting with a shell reliably is not simple, but neither are many other tasks

The point is that there are other ways to accomplish what you are doing here that are actually reliable and simple.

  • Comment on Re^3: Off Topic: Looking for good Expect scripts

Replies are listed 'Best First'.
Re^4: Off Topic: Looking for good Expect scripts
by 5mi11er (Deacon) on Jun 28, 2013 at 19:41 UTC
    Like what?

    I'll give you it's possible to use ssl key authentication for automatically logging into cisco devices, but that's not an option via telnet, and if you've got more than 600 devices that you don't remember which small subset are still on old enough code they don't yet do SSH, this can come in handy.

    When you're dealing with hundreds or thousands of devices and need to make a small change to a large number of them, there's no way to accomplish that without using something like expect; at least I don't know of one now. If you do, please enlighten.

    -Scott