You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while not self.channel.exit_status_ready():
data = self.channel.recv(1024).decode('utf-8')
The while loop never ends when the ssh is on, the channel is in blocking mode. The process has finished. But exit_status_ready() never returns a True, so it blocks at channel.recv(). What is wrong ?
The text was updated successfully, but these errors were encountered:
Here is how I open the ssh channel:
The problem is in the code of receiving data:
The while loop never ends when the ssh is on, the channel is in blocking mode. The process has finished. But exit_status_ready() never returns a True, so it blocks at channel.recv(). What is wrong ?
The text was updated successfully, but these errors were encountered: