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 expected it to reuse the same pipe for all commands.
Even using the paramiko client (use_ssh_client=False) seems to be similar because SSHConnectionPool are created for every URL. Those URLs are different for every request.
So I don't really understand how this was supposed to work efficiently. Is there something fundamental that precludes the reuse of the SSH connection?
The text was updated successfully, but these errors were encountered:
cmds.sh
connects through SSH and executes several commands:Running this script spawns a new ssh connection for each command which takes a lot of time because the whole login sequence is repeated:
I expected it to reuse the same pipe for all commands.
Even using the paramiko client (
use_ssh_client=False
) seems to be similar becauseSSHConnectionPool
are created for every URL. Those URLs are different for every request.So I don't really understand how this was supposed to work efficiently. Is there something fundamental that precludes the reuse of the SSH connection?
The text was updated successfully, but these errors were encountered: