The SSH bridge call is not blocking at the moment.
We want this call to be blocking, i.e. to wait until the execution of the remote command is done.
The paramiko package has a Channel object that might be suited for this job.
Further, it would be nice if the call could store the stdout and stderr of the remote command for logging.
The SSH bridge
call
is not blocking at the moment. We want this call to be blocking, i.e. to wait until the execution of the remote command is done. The paramiko package has aChannel
object that might be suited for this job.Further, it would be nice if the call could store the stdout and stderr of the remote command for logging.