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
I have written a POC for opening an SSHJ client in Shell mode, issuing sequential commands to it, and getting back the contents of StdIn, StdErr and the exit code for each issued command.
Would appreciate any input as to whether there are any better ways of doing this, or how I could improve what I have. https://github.com/evilC/sshj-shell-client
(And yes, I know that you can chain multiple commands together in one exec(), but that's not what I want)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have written a POC for opening an SSHJ client in Shell mode, issuing sequential commands to it, and getting back the contents of StdIn, StdErr and the exit code for each issued command.
Would appreciate any input as to whether there are any better ways of doing this, or how I could improve what I have.
https://github.com/evilC/sshj-shell-client
(And yes, I know that you can chain multiple commands together in one
exec(), but that's not what I want)Beta Was this translation helpful? Give feedback.
All reactions