-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
SSH connection seems to be closed/opened for each command #1187
Comments
Looks like a bug with checking is mutliplexing is on. |
I'm also having this issue (sometimes). How should we debug this? |
I'll add debug option for ssh |
Please try with latest version from master brunch. Also add to host this: |
Also try this command before dep:
|
The ssh command first:
Then with ssh flag
Thanks! |
Use phar version. |
I have tried |
May I send it to email or another private stream? It makes a lot of pauses after such lines:
And deployment process is very long ... |
You can write to my email address. |
Please, check master branch. I think i fixed it 😄 |
Description
It seems that the SSH connection is closed and reopened for each command sent to the server.
I can see the
ssh multiplexing initialization
andWarning: Permanently added '1.2.3.4' (RSA) to the list of known hosts.
between each command.It's the same if a disable ssh multiplexing, I still have the
Warning: Permanently added '1.2.3.4' (RSA) to the list of known hosts.
between each command.=> The consequence is that it is super super slow to execute!
Steps to reproduce
Just execute a task with 2 or more commands to be sent to the server.
Content of
hosts.yml
Output log
The text was updated successfully, but these errors were encountered: