On Dec 10, 2013, at 2:28 PM, Reuben reuben.dl...@gmail.com wrote:
Hi,
There exists two Linux machines A and B. Machine B contains python script
which needs to be run e.g. Test.py
In order to run that script, machine A needs to telnet into machine B and
then execute python Test.py
Hi,
There exists two Linux machines A and B. Machine B contains python script
which needs to be run e.g. Test.py
In order to run that script, machine A needs to telnet into machine B and
then execute python Test.py
How can this be implemented? Is subprocess library to be used?if yes, an
example
On Tue, Dec 10, 2013 at 11:28 AM, Reuben reuben.dl...@gmail.com wrote:
Hi,
There exists two Linux machines A and B. Machine B contains python script
which needs to be run e.g. Test.py
In order to run that script, machine A needs to telnet into machine B and
then execute python Test.py
I want to implement a python script on machine A to do telnet/ssh into
machine B (this might be easy)and then run the Test.py (this is challenging)
On 11-Dec-2013 1:05 AM, Danny Yoo d...@hashcollision.org wrote:
On Tue, Dec 10, 2013 at 11:28 AM, Reuben reuben.dl...@gmail.com wrote:
Hi,
Ok; so in your situation, it sounds like machine A is also running a
Python script, and you want to automate the remote administration of
machine B through that program. If that's the case, you may want to
look at the Fabric library, or other libraries that help with
driving ssh through Python:
Reuben reuben.dl...@gmail.com wrote:
I want to implement a python script on machine A to do telnet/ssh into
machine B (this might be easy)and then run the Test.py (this is
challenging)
On 11-Dec-2013 1:05 AM, Danny Yoo d...@hashcollision.org wrote:
On Tue, Dec 10, 2013 at 11:28 AM, Reuben
On Wed, Dec 11, 2013 at 12:58:16AM +0530, Reuben wrote:
Hi,
There exists two Linux machines A and B. Machine B contains python script
which needs to be run e.g. Test.py
In order to run that script, machine A needs to telnet into machine B and
then execute python Test.py
Using telnet is