Example usage of Interactive mode #994
Unanswered
harishmreva
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Team,
I need a help to use SSHJ to write to an output channel and read input continuously. But when I try to do the same, channel is getting closed.
inOutChannel = this.session.exec(cmd);
return this.inOutChannel; // Channel is closed here.
How to keep this alive to execute continuous commands?
Beta Was this translation helpful? Give feedback.
All reactions