I have been using Paramiko to send commands across on a Linux/Windows machine.
It is working fine for remotely executing tests on an Ubuntu machine. However, it doesn't work on the Windows 7 host machine.
Below is the error that I received:-
def _unit_for_event(self): self_event.wait() assert self.event.isSet() if self.event_ready: return e = self.transport.get_exception() if e is None: e = SSHException ('Channel closed.') raise e
The exception was:
E SSHException: Channel closed.
I am using the latest Paramiko version 1.7.7.1 and installing Open SSHd on the Windows 7 machine.
Has anyone had a similar experience to the above? This error is not seen when I remotely execute on a Linux machine.