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: 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: References: Date: Thu, 20 Feb 2014 00:58:33 +1100 Subject: Re: SSH/Telnet program to Router/switch From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Thu, Feb 20, 2014 at 12:35 AM, Roy Smith 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