[Twisted-Python] SSHv2 client script for Cisco routers

Eli Criffield elicriffield at gmail.com
Thu Jul 12 16:00:24 EDT 2007

Thats exactly what I've been working on, a script to automate
connections to cisco switches, where you have to execute multiple
commands per connection (config t, then some commands ect...)

I emailed this list yesterday asking if anyone has some examples of
how to do that and no reply yet.

I'd like to get ssh worked into http://code.google.com/p/exscript/ .
Exscript does what your doing with telnetlib and uses  templates and
concurrent connections.

Eli Criffield

On 7/12/07, Chris Hallman <challman at gmail.com> wrote:
> Does anyone have an example of a SSHv2 client script? I need to write a
> script that uses SSHv2 to execute multiple commands on hundreds of routers.
> I already have a script that does this with the Telnetlib. I need to
> transition to SSHv2.
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list