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


Groups > comp.lang.python > #66690

Re: SSH/Telnet program to Router/switch

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.049
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'socket': 0.07; 'cc:addr :python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'roy': 0.16; 'subject:program': 0.16; 'telnet,': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'module,': 0.24; 'cc:2**0': 0.24; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'yourself.': 0.31; 'another': 0.32; 'problem.': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'doing': 0.36; 'enough': 0.39; 'easy': 0.60; 'simple': 0.61; 'worth': 0.66; '20,': 0.68; 'smith': 0.68; 'forced': 0.84; '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=A+eLNWSGp8kY2+qnAZBMkgKEKMOUqkNI62w+0nGaRLo=; b=zAZYtnijuA6O/kHcJPqIkE1wGtsrf2PvL8cDuIyekNnTCu7ncu1S+8XAqMLoCb/BOg k06Rv89KjW9S5HdLeWl0FeYLOWPub0xFJo9xW+gdqI2ZUMoRzF+u4bt28sz1wnSvVRvJ Re6oCNncnImu/UlxdQLdiFMtlFFAqdX1/29bz6c7WQ1ky5DGFqX7mL5khS5rk2x/1IAd ZTqhdxliRANLIU0EEd3hdvgYZEXL9gx/TLoQjB8ojJuxVYSqZO7H9GVMy4hzbAmG1ZK1 SHV2tKETPS4wHvkkgO1U5uEbjSO59lQvcBFf9Ak6n4OfKJTqc0Mf6w8diGZAtPIbPmBu h3SQ==
MIME-Version 1.0
X-Received by 10.66.25.241 with SMTP id f17mr2396767pag.127.1392818313387; Wed, 19 Feb 2014 05:58:33 -0800 (PST)
In-Reply-To <roy-F02FD5.08350019022014@news.panix.com>
References <d343f9af-54f2-4709-9a99-1ad5708c1f34@googlegroups.com> <roy-F02FD5.08350019022014@news.panix.com>
Date Thu, 20 Feb 2014 00:58:33 +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.7149.1392818316.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392818316 news.xs4all.nl 2831 [2001:888:2000:d::a6]:33481
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:66690

Show key headers only | View raw


On Thu, Feb 20, 2014 at 12:35 AM, Roy Smith <roy@panix.com> wrote:
> As far as I know, fabric only works with ssh.  If you are forced to use
> telnet to talk to legacy equipment, that's another problem.

If it's telnet, it's likely to be a pretty simple protocol. All you
really need is the socket module, build it all yourself. Networking's
easy enough to handle; it's the crypto on top of it (SSH, in your
case) that's not worth doing manually.

ChrisA

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