Skip to content

Instantly share code, notes, and snippets.

@leolandotan
Created February 16, 2017 12:38
Show Gist options
  • Save leolandotan/eac9232b48ac9c166bbdee828b6fdd19 to your computer and use it in GitHub Desktop.
Save leolandotan/eac9232b48ac9c166bbdee828b6fdd19 to your computer and use it in GitHub Desktop.
ssh_exchange_identification: Connection closed by remote host
$ vagrant up
Bringing machine 'drupalvm' up with 'virtualbox' provider...
==> drupalvm: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> drupalvm: [vagrant-hostsupdater] Checking for host entries
==> drupalvm: [vagrant-hostsupdater] Writing the following entries to (/etc/hosts)
==> drupalvm: [vagrant-hostsupdater] 192.168.88.88 drupalvm.dev # VAGRANT: 108fd0b6f9bb7dc19badf6ced89e7926 (drupalvm) / feeafdab-ce0a-4e19-a5a3-27c0a3eee7c9
==> drupalvm: [vagrant-hostsupdater] 192.168.88.88 www.drupalvm.dev # VAGRANT: 108fd0b6f9bb7dc19badf6ced89e7926 (drupalvm) / feeafdab-ce0a-4e19-a5a3-27c0a3eee7c9
==> drupalvm: [vagrant-hostsupdater] 192.168.88.88 adminer.drupalvm.dev # VAGRANT: 108fd0b6f9bb7dc19badf6ced89e7926 (drupalvm) / feeafdab-ce0a-4e19-a5a3-27c0a3eee7c9
==> drupalvm: [vagrant-hostsupdater] 192.168.88.88 xhprof.drupalvm.dev # VAGRANT: 108fd0b6f9bb7dc19badf6ced89e7926 (drupalvm) / feeafdab-ce0a-4e19-a5a3-27c0a3eee7c9
==> drupalvm: [vagrant-hostsupdater] 192.168.88.88 pimpmylog.drupalvm.dev # VAGRANT: 108fd0b6f9bb7dc19badf6ced89e7926 (drupalvm) / feeafdab-ce0a-4e19-a5a3-27c0a3eee7c9
==> drupalvm: [vagrant-hostsupdater] 192.168.88.88 dashboard.drupalvm.dev # VAGRANT: 108fd0b6f9bb7dc19badf6ced89e7926 (drupalvm) / feeafdab-ce0a-4e19-a5a3-27c0a3eee7c9
==> drupalvm: [vagrant-hostsupdater] This operation requires administrative access. You may skip it by manually adding equivalent entries to the hosts file.
Password:
==> drupalvm: Running provisioner: ansible...
drupalvm: Running ansible-playbook...
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
fatal: [drupalvm]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh_exchange_identification: Connection closed by remote host\r\n", "unreachable": true}
to retry, use: --limit @/Users/leotan/Documents/vm/drupalvm/provisioning/playbook.retry
PLAY RECAP *********************************************************************
drupalvm : ok=0 changed=0 unreachable=1 failed=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment