Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66676
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'socket': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'sockets': 0.16; 'subject:program': 0.16; 'tcp': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'feb': 0.22; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'script': 0.25; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'work.': 0.31; 'usually': 0.31; 'received:google.com': 0.35; 'module.': 0.36; 'method': 0.36; 'hi,': 0.36; 'pm,': 0.38; 'expect': 0.39; 'does': 0.39; 'enough': 0.39; 'easy': 0.60; 'equipment': 0.61; 'new': 0.61; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=iSbN9jCykNSw5dIfnOIUyqYy3oKzy8idQw2kqvmepMo=; b=x34IlgSPJOnX5PvJjJVw2Cv989UDXe11Peb0VxiwI5wJ0/F7bLN1CRRK899DR27QbL ScyHd2gRDUxzlXPTGSeHZkBlma91Gxl3BKzUjlkvjwrG9NG9jmyWdXZcp3SHA1FN5hZN +HEaFTt4SeCHDWyaTpmqH8r+Ei8LU82RcMM5bhtpeCrEnoBBQqX2LB3PJhwnDkeAAUlP 9hZzzPLC59vcenndtFlrWhhrXI3WywPn6Jekaiay8fyltScpFUDrfY+cO180AaaK2Kpx Yw6UEaGl3aXj0drjRFHVjQXlDCXi4VMduEuMplEgh48x6vIeNBaN+qjMwx3gNl8QciON s3Ow== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.25.241 with SMTP id f17mr801185pag.127.1392799559178; Wed, 19 Feb 2014 00:45:59 -0800 (PST) |
| In-Reply-To | <d343f9af-54f2-4709-9a99-1ad5708c1f34@googlegroups.com> |
| References | <d343f9af-54f2-4709-9a99-1ad5708c1f34@googlegroups.com> |
| Date | Wed, 19 Feb 2014 19:45:59 +1100 |
| Subject | Re: SSH/Telnet program to Router/switch |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.7141.1392799568.18130.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1392799568 news.xs4all.nl 2843 [2001:888:2000:d::a6]:45945 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:66676 |
Show key headers only | View raw
On Wed, Feb 19, 2014 at 7:14 PM, Sujith S <sujiths80@gmail.com> 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 ? > Yep! Look up the socket module. Straight-forward TCP sockets are usually easy enough to work. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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