I have tried to use example json from packer website. I am using CentOS minimal ISO though. I never get a SSH connection and things just timeout. Is this known, how do I get around it? I am simply not able to proceed with packer at all. I really want to use this tool for a product we are building.
2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [INFO] Attempting SSH connection... 2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [DEBUG] handshaking with SSH 2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:46:53 packer: 2018/08/25 09:46:53 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [INFO] Attempting SSH connection... 2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [DEBUG] handshaking with SSH 2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:00 packer: 2018/08/25 09:47:00 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [INFO] Attempting SSH connection... 2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [DEBUG] handshaking with SSH 2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:07 packer: 2018/08/25 09:47:07 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [INFO] Attempting SSH connection... 2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [DEBUG] handshaking with SSH 2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:14 packer: 2018/08/25 09:47:14 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [INFO] Attempting SSH connection... 2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [DEBUG] handshaking with SSH 2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:21 packer: 2018/08/25 09:47:21 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [INFO] Attempting SSH connection... 2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [DEBUG] handshaking with SSH 2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:28 packer: 2018/08/25 09:47:28 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [INFO] Attempting SSH connection... 2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [DEBUG] handshaking with SSH 2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:35 packer: 2018/08/25 09:47:35 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [INFO] Attempting SSH connection... 2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [DEBUG] handshaking with SSH 2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:42 packer: 2018/08/25 09:47:42 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [INFO] Attempting SSH connection... 2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [DEBUG] handshaking with SSH 2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:49 packer: 2018/08/25 09:47:49 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [INFO] Attempting SSH connection... 2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [DEBUG] reconnecting to TCP connection for SSH 2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [DEBUG] handshaking with SSH 2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [DEBUG] SSH handshake err: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:56 packer: 2018/08/25 09:47:56 [DEBUG] Detected authentication error. Increasing handshake attempts. 2018/08/25 09:47:56 ui error: ==> qemu: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain ==> qemu: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:56 ui error: ==> qemu: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain ==> qemu: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain 2018/08/25 09:47:56 ui: ==> qemu: Step "StepConnect" failed ==> qemu: Step "StepConnect" failed 2018/08/25 09:47:56 ui: ask: ==> qemu: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)? ==> qemu: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)? -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/ffcfd788-e509-426a-b859-e498c819d823%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
