kryptco / kr

DEPRECATED A dev tool for SSH auth + Git commit/tag signing using a key stored in Krypton.
https://krypt.co/developers/
Other
1.59k stars 109 forks source link

SSH times out when used by Vagrant with Krypton #246

Open StoppingBuck opened 5 years ago

StoppingBuck commented 5 years ago

I'm using geerlingguy's drupal-vm with Vagrant and Virtualbox, but since I started using Krypton for SSH, the Ansible provisioning script no longer works, as the part which sets up local ssh (and enables you to eg. do vagrant ssh to ssh into the local drupal vm) times out:

mp@archoffice  ~/code/xxx-infra  ➦ 15b1a3a  vagrant up
Bringing machine 'xxx' up with 'virtualbox' provider...
==> xxx: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> xxx: [vagrant-hostsupdater] Checking for host entries
==> xxx: [vagrant-hostsupdater]   found entry for: 192.168.81.18 dev.xxx.dk
==> xxx: [vagrant-hostsupdater]   found entry for: 192.168.81.18 dev.xxx.dk www.dev.xxx.dk
==> xxx: [vagrant-hostsupdater]   found entry for: 192.168.81.18 adminer.dev.xxx.dk
==> xxx: [vagrant-hostsupdater]   found entry for: 192.168.81.18 xhprof.dev.xxx.dk
==> xxx: [vagrant-hostsupdater]   found entry for: 192.168.81.18 pimpmylog.dev.xxx.dk
==> xxx: [vagrant-hostsupdater]   found entry for: 192.168.81.18 192.168.81.18 dashboard.dev.xxx.dk
==> xxx: Running provisioner: ansible_local...
An error occurred in the underlying SSH library that Vagrant uses.
The error message is shown below. In many cases, errors from this
library are caused by ssh-agent issues. Try disabling your SSH
agent or removing some keys and try again.

If the problem persists, please report a bug to the net-ssh project.

timeout during server version negotiating

This may or may not be related to the intermittent timeouts of (#245 ), except this time, instead of falling back on standard ssh, the entire thing times out and dies.