SSH/Telnet program to Router/switch

Ferrous Cranus nikos.gr33k at gmail.com
Thu Feb 20 05:59:43 EST 2014


Τη Τετάρτη, 19 Φεβρουαρίου 2014 10:45:53 π.μ. UTC+2, ο χρήστης Wojciech Łysiak έγραψε:
> On 19.02.2014 09:14, Sujith S wrote:
> 
> > Hi,
> 
> > 
> 
> > I am new to programming and python. I am looking for a python script to do ssh/telnet to a network equipment ? I know tcl/perl does this using expect/send. 
> 
> > 
> 
> > Do we have expect available in python as well or need to use some other method ?
> 
> 
> 
> Hello,
> 
>  If you are looking for a way to connect to your netdevices and then
> 
> execute some shell commands (with output) via ssh then google for
> 
> paramiko module for python.
> 
> 
> 
> It works on windows and linux.
> 
> 
> 
> -- 
> 
> BR,
> 
> Wojtek

Hello,

What will benefit the OP to go ahead and use paramiko opposed to just use "Putty" or another perhaps even Chrome based ssh client?

Is there an advantage to that?



More information about the Python-list mailing list