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

SSH connection failed #3

Closed
alambike opened this issue Dec 28, 2014 · 2 comments
Closed

SSH connection failed #3

alambike opened this issue Dec 28, 2014 · 2 comments

Comments

@alambike
Copy link

test-kitchen#40

I'm with ubuntu14.04 and converge and test commands always fails with ssh connection error.

       [SSH] connection failed, retrying (#<Net::SSH::Disconnect: connection closed by remote host>)
       [SSH] connection failed, retrying (#<Net::SSH::Disconnect: connection closed by remote host>)
      [SSH] connection failed, terminating (#<Net::SSH::Disconnect: connection closed by remote host>)

In second try converge works.

The problems comes from wait_for_sshd function. A workaround for this, that works for me, is to add an sleep 10 before wait_for_sshd.

This was referenced Dec 28, 2014
@peterabbott
Copy link
Owner

I have merged this in and tagged v1.6.4, works here but can you test for you?

@alambike
Copy link
Author

It works perfectly, thanks.

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

No branches or pull requests

2 participants