For a non-twisted solution, you can also try paramiko:
http://www.lag.net/paramiko/

It might be a bit easier to wrap your brain around if you are very new to the twisted way of doing things.

It should also work nicely on Win32 (I haven't checked in a while but the last time I used it it worked fine).

Kevin Horn

On Sat, Sep 27, 2008 at 7:11 PM, paul <paul@subsignal.org> wrote:
Jean-Paul Calderone schrieb:

On Sun, 28 Sep 2008 16:43:25 +0530, shweta mani <shweta3230@gmail.com> wrote:
Hi al i am new to twisted. I had been assigned a project on SSH.
the project is as follows.
i have to login to a remote Linux machine through Windows
i have to execute a shell script  and print the output back in Windows
machine
this needs to be done through SSH.
Any clues . please help. i need it urgently


Take a look at the API docs and the examples.  Perhaps get a copy of
_Twisted Network Programming Essentials_ or find the Conch chapter
online.  If you get stuck, come back with specific questions.

Hope this isn't too offensive but last time I checked conch didn't work on win32 (http://twistedmatrix.com/trac/ticket/50). I guess most users would be happy with a basic "secure RPC" implementation, no console stuff. No idea how much work that is though ...

cheers

 Paul


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python