-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shell usage last read hang #50
Comments
Hi there, Thanks for the interest. Issue tracker is for bugs/feature requests with the code, this is better asked on the mail group.
If you are looking for a higher level client, see paralell-ssh. |
Hi do you suggest to use paralell-ssh? anyhow to reopen the issue? |
The read hangs because there is no more data to be read. On interactive channels no EOF is sent by server to indicate channel has finished. That is expected behaviour of the API in blocking mode. Will need to check if there is anything pending to be read presumably by either This project is a wrapper to libssh2, similar code is needed to use it directly as for using libssh2. There are not examples for doing everything not even for libssh2 C code. PRs welcome. If a more higher level client is what is needed, see |
Thanks! |
HI
i tried to use execute but i figure out that execute is for single command
i need to run continues commands without initiate new session each time
i tried to use read/write cycles but the read hang on the last iteration
code:
Thanks
The text was updated successfully, but these errors were encountered: