Expect or pexpect for Python.
http://www.noah.org/wiki/pexpect
Most new networking scripting done today is using Python over any other
language. Legacy is still Perl and TCL/Expect.
-- Brian Dennis, CCIEx5 #2210 (R&S/ISP-Dial/Security/SP/Voice) bdennis_at_ine.com INE, Inc. http://www.INE.com On 10/13/13 2:40 AM, "Adam Atkinson" <ghira_at_mistral.co.uk> wrote: >Mathew wrote: >> Hi, >> >> Does anyone aware or tried to use a C/C++ code to capture telnet/ssh >> output to a text file? >> >> I am thinking of a way to perform checks/changes on many routers. > >I use expect for this. It's very very good at it. > > >Blogs and organic groups at http://www.ccie.net > >_______________________________________________________________________ >Subscription information may be found at: >http://www.groupstudy.com/list/CCIELab.html Blogs and organic groups at http://www.ccie.netReceived on Sun Oct 13 2013 - 13:39:28 ART
This archive was generated by hypermail 2.2.0 : Fri Nov 01 2013 - 07:35:39 ART