Uh oh!
There was an error while loading. Please reload this page.
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? |
Replies: 1 comment 1 reply
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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: |
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: