mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-19 06:21:41 -04:00
[A recent breaking change upstream in Golang's crypto library](https://github.com/golang/crypto/commit/e4e2799dd7aab89f583e1d898300d96367750991) has broken SSH connectivity for a few builders: ``` ==> qemu: Waiting for SSH to become available... 2017/05/20 16:23:58 ui: ==> qemu: Waiting for SSH to become available... 2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 [INFO] Attempting SSH connection... 2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 reconnecting to TCP connection for SSH 2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 handshaking with SSH 2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 handshake error: ssh: must specify HostKeyCallback 2017/05/20 16:23:58 packer: 2017/05/20 16:23:58 [DEBUG] SSH handshake err: ssh: must specify HostKeyCallback 2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 [INFO] Attempting SSH connection... 2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 reconnecting to TCP connection for SSH 2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 handshaking with SSH 2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 handshake error: ssh: must specify HostKeyCallback 2017/05/20 16:24:05 packer: 2017/05/20 16:24:05 [DEBUG] SSH handshake err: ssh: must specify HostKeyCallback ``` Specifying HostKeyCallback as insecure should make things work again and would make sense for packer's use case.