What I'm actually looking for is the equivalent off ssh connection in windows environment. As per requirement, my controller machine can connect to remote machine with username password using some kind of utility/protocol such as ssh or telnet or rpc or tpc and using this session I can transfer files or execute command on remote machine. This connection execution must be done without any intervention from remote machine, i.e. I don't need to install any module or install any utility on remote machine or run any script.
My both controller and remote environment are windows.
Can someone suggest me python module or utility, using which I'll be able do this ?
I explore few option however I'm not sure if they are the best way to do so. Pleas provide your thoughts on this too.
- connect using psexec utility through popen.
- using socket to communication channel, however I'm not sure if I can execute any command using this channel.
- making use of Telnet. but I didn't explore the python module to make telnet connection and execute command.
- using module such as Pyro or rpyc.
Any help is appreciated. Thanks a lot in advanced.