-
I have looked at the code examples and still struggling w/ a proper interactive shell example I can use for running multiple commands and capturing stdout for each. I understand .read will block indefinitely since there is no EOF. Tks, channel.write('some command \n') Btw have also tried non interactive w/ execute and facing a different problem. Opening a new channel .open_session() for the next command results in a SocketRecvError. Assuming the socket is close with out digging? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi there, See section on interactive shells in documentation of parallel-ssh. https://parallel-ssh.readthedocs.io/en/latest/advanced.html#running-commands-on-shells Eg for single clients:
|
Beta Was this translation helpful? Give feedback.
Hi there,
See section on interactive shells in documentation of parallel-ssh.
https://parallel-ssh.readthedocs.io/en/latest/advanced.html#running-commands-on-shells
Eg for single clients: