Async and jumphost #3088
Answered
by
ktbyers
joaosousa997
asked this question in
Q&A
Async and jumphost
#3088
-
Is it viable to use async to run commands on multiple hosts based on a connection to a jump server? Right now what i have is:
Does using async will achieve my goal of running multiple instances of SSH to the Hosts and do send_command/write_channel? Or will i need to use something like threading? |
Beta Was this translation helpful? Give feedback.
Answered by
ktbyers
Jan 18, 2023
Replies: 1 comment 1 reply
-
Yeah, I don't know if that would work (I somewhat doubt it). You would have to test it out and see if you achieved the behavior you wanted. The standard Netmiko solution is to use threads or multiple processes. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
joaosousa997
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, I don't know if that would work (I somewhat doubt it). You would have to test it out and see if you achieved the behavior you wanted. The standard Netmiko solution is to use threads or multiple processes.