[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using expect to log into devices
- Subject: using expect to log into devices
- From: surfer at mauigateway.com (Scott Weeks)
- Date: Sat, 21 Jul 2018 01:14:39 -0700
--- jwbensley at gmail.com wrote:
From: James Bensley <jwbensley at gmail.com>
:: Do you need to write this yourself,
No, but I'm tired of being a coding wussie,
so this is 1) an exercise for me in getting
better at it and 2) I want it to read a list
of machines from one file and execute a list
of commands from another. Then I just vi
the files and done.
:: I've used this expect script too many
:: times such that I should be ashamed...It
:: "just works":
::
:: https://sourceforge.net/projects/cosi-nms/files/ciscocmd/
Thanks, it's beertime Friday, so I will
look at it tomorrow. However, I'd sure like
to know why I an using up all the file
descriptors on the system.
scott