Skip to content
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

Could you guide me on how to utilize JSCH to execute shell commands within a multi-threaded environment? #609

Open
BadKid90s opened this issue Aug 2, 2024 · 1 comment

Comments

@BadKid90s
Copy link

Could you guide me on how to utilize JSCH to execute shell commands within a multi-threaded environment?

@mwiede
Copy link
Owner

mwiede commented Aug 6, 2024

You should open a separate session for each thread and then open and close an exec channel for each command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants