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


Groups > comp.lang.python > #53561

Re: How to execute command on remote windows machine

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <prvs=951e0cc49=jeanmichel@sequans.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.041
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'error:': 0.07; 'machines.': 0.09; 'subject:command': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'subject:windows': 0.16; 'unavailable.': 0.16; 'alex': 0.19; 'command': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'suggested': 0.26; 'post': 0.26; 'header:In- Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; '-----': 0.33; 'requirement': 0.35; 'hi,': 0.36; 'error.': 0.37; 'being': 0.38; 'remote': 0.38; 'server': 0.38; 'thank': 0.38; 'you.': 0.62; 'information': 0.63; 'received:194': 0.64; 'to:addr:gmail.com': 0.65; 'notice:': 0.67; 'person,': 0.68; 'privileged.': 0.69; 'disclose': 0.74; 'medium.': 0.91
X-IronPort-AV E=Sophos;i="4.89,1013,1367964000"; d="scan'208";a="1858943"
X-Virus-Scanned amavisd-new at zimbra.sequans.com
Date Tue, 3 Sep 2013 11:44:01 +0200 (CEST)
From Jean-Michel Pichavant <jeanmichel@sequans.com>
To gaurangnshah@gmail.com
In-Reply-To <74ce5096-46df-42e4-ad30-fd6f5d22f40f@googlegroups.com>
Subject Re: How to execute command on remote windows machine
MIME-Version 1.0
X-Mailer Zimbra 7.2.4_GA_2900 (ZimbraWebClient - GC29 (Win)/7.2.4_GA_2900)
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding base64
Cc python-list@python.org
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.0.1378201511.5461.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1378201511 news.xs4all.nl 15910 [2001:888:2000:d::a6]:49605
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53561

Show key headers only | View raw



----- Original Message -----
> Hi alex
> 
> I tried the command you suggested however it is giving me following
> error.
> 
> ERROR: The RPC server is unavailable.

Hi,

Please do not top post :)
If python is installed on the remote machine, using execnet http://codespeak.net/execnet/ is very easy. Its only requirement is python being installed on both machines.

JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

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


Thread

Re: How to execute command on remote windows machine Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-09-03 11:44 +0200

csiph-web