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

golang-ssh: tweak session creation #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rjeczalik
Copy link

Currently in order to create session we're going to dial remote twice -
one to check if it's available in a retry loop, second time to actually
create session.

This PR makes the client to dial only once. Also disables dial retries,
making it configurable.

Last but not least this PR drops dependency on github.com/docker/machine
package.

Currently in order to create session we're going to dial remote twice -
one to check if it's available in a retry loop, second time to actually
create session.

This PR makes the client to dial only once. Also disables dial retries,
making it configurable.

Last but not least this PR drops dependency on github.com/docker/machine
package.
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

Successfully merging this pull request may close these issues.

1 participant