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

Reuse SSH connection #2970

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VelorumS
Copy link

Don't close the SSH connection for the subsequent requests.

For the paramiko client option (use_ssh_client=False) there was some kind of reuse but it reuses on per-URL basis for some reason. Maybe someone can clarify why.

Fixes: #2966

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

Successfully merging this pull request may close these issues.

SSH connection is not being reused when sending multiple commands
2 participants