Reputation: 1
I need to log in to a Windows server via SSH through a local Python (2.7) script, start a script on the server and then disconnect the SSH connection, so that the local script can continue to run.
As of now, I am using fabric, and the local script will not continue before the remote script is done and the SSH connection is closed.
I have read on a range of forums, but it seems to my (admittedly inexperienced) eyes that most replies use Unix commands. I need to be able to log onto a Windows machine however.
What can I do?
Upvotes: 0
Views: 896
Reputation: 5884
Does this help you? You can write a batch script that'll start in the background:
Running Windows batch file commands asynchronously
Upvotes: 0