I have to do a job (using my web server) on a remote machine that takes about 10 minutes.
I have used pxssh module in python for the same but it gives me "timeout error"(non blocking).
Now, I am using paramiko but that comes back as soon as it gives the instruction.
I want the web server to wait till the job is complete. Is there any python SSH module available for this.
Or
Can we achieve the same by changing any configuration settings of pxssh
or paramiko
?