please solve

Raymond Cote rgacote at AppropriateSolutions.com
Sun Oct 12 12:15:57 EDT 2008


shweta mani wrote:
> hi folks,
> i have been assigned a project on Python. i need to execute a remote
> shell script file from a windows machine through SSH twisted or
> paramiko. if it is a normal file then directly with the command  sh
> <filename>.sh it is getting executed.
> self.conn.sendRequest(self, 'exec', common.NS(sh test1.sh), wantReply
> = 1)
You could take a look at the Fabric project for some ideas as to how to 
do this:
   <http://www.nongnu.org/fab/documentation.html>

--R



More information about the Python-list mailing list