Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #67085

Re: SSH/Telnet program to Router/switch

Subject Re: SSH/Telnet program to Router/switch
From Rodrick Brown <rodrick.brown@gmail.com>
Date 2014-02-25 07:53 -0500
References <d343f9af-54f2-4709-9a99-1ad5708c1f34@googlegroups.com> <mailman.7142.1392800008.18130.python-list@python.org> <ff9a792c-c430-4d3a-be00-1fb15b3394ea@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.7385.1393400594.18130.python-list@python.org> (permalink)

Show all headers | View raw



Sent from my iPhone

> On Feb 20, 2014, at 5:59 AM, Ferrous Cranus <nikos.gr33k@gmail.com> wrote:
> 
> Τη Τετάρτη, 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?
This is a Python mailing list so obviously the OP wants to use python to automate logging into his devices and dispatching some commands. Why else would they ask here? 

> -- 
> https://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

SSH/Telnet program to Router/switch Sujith S <sujiths80@gmail.com> - 2014-02-19 00:14 -0800
  Re: SSH/Telnet program to Router/switch Chris Angelico <rosuav@gmail.com> - 2014-02-19 19:45 +1100
  Re: SSH/Telnet program to Router/switch Wojciech Łysiak <wojciech.lysiak@hotmail.com> - 2014-02-19 09:45 +0100
    Re: SSH/Telnet program to Router/switch Ferrous Cranus <nikos.gr33k@gmail.com> - 2014-02-20 02:59 -0800
      Re: SSH/Telnet program to Router/switch Rodrick Brown <rodrick.brown@gmail.com> - 2014-02-25 07:53 -0500
  Re: SSH/Telnet program to Router/switch Johannes Schneider <johannes.schneider@galileo-press.de> - 2014-02-19 11:36 +0100
  Re: SSH/Telnet program to Router/switch Roy Smith <roy@panix.com> - 2014-02-19 08:35 -0500
    Re: SSH/Telnet program to Router/switch Chris Angelico <rosuav@gmail.com> - 2014-02-20 00:58 +1100
    Re: SSH/Telnet program to Router/switch Roy Smith <roy@panix.com> - 2014-02-19 09:13 -0500
  Re: SSH/Telnet program to Router/switch William Ray Wing <wrw@mac.com> - 2014-02-19 09:27 -0500

csiph-web