Please provide the template, Kickstart file, and scripts you are using. And the full log when running a build with PACKER_LOG=1.
What do you see if you open the VM's console in VMware while packer tries to connect? (screenshot) On Thu, Dec 13, 2018, 04:45 <[email protected] wrote: > Hi, > > Im getting ssh connectivity error while building RHEL 7.5 please find the > below logs. my packer vm running in vmware esxi server. please suggest. > > Packer version: > packer.io --version > 1.3.3 > > > 2018/12/13 06:24:20 packer: 2018/12/13 06:24:20 [INFO] Attempting SSH > connection... > 2018/12/13 06:24:20 packer: 2018/12/13 06:24:20 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:24:20 packer: 2018/12/13 06:24:20 [DEBUG] handshaking with > SSH > 2018/12/13 06:25:20 packer: 2018/12/13 06:25:20 [DEBUG] SSH handshake err: > Timeout during SSH handshake > 2018/12/13 06:25:27 packer: 2018/12/13 06:25:27 [INFO] Attempting SSH > connection... > 2018/12/13 06:25:27 packer: 2018/12/13 06:25:27 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:25:27 packer: 2018/12/13 06:25:27 [DEBUG] handshaking with > SSH > 2018/12/13 06:26:27 packer: 2018/12/13 06:26:27 [DEBUG] SSH handshake err: > Timeout during SSH handshake > 2018/12/13 06:26:34 packer: 2018/12/13 06:26:34 [INFO] Attempting SSH > connection... > 2018/12/13 06:26:34 packer: 2018/12/13 06:26:34 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:26:34 packer: 2018/12/13 06:26:34 [DEBUG] handshaking with > SSH > 2018/12/13 06:27:34 packer: 2018/12/13 06:27:34 [DEBUG] SSH handshake err: > Timeout during SSH handshake > 2018/12/13 06:27:41 packer: 2018/12/13 06:27:41 [INFO] Attempting SSH > connection... > 2018/12/13 06:27:41 packer: 2018/12/13 06:27:41 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:27:41 packer: 2018/12/13 06:27:41 [DEBUG] handshaking with > SSH > 2018/12/13 06:28:41 packer: 2018/12/13 06:28:41 [DEBUG] SSH handshake err: > Timeout during SSH handshake > 2018/12/13 06:28:48 packer: 2018/12/13 06:28:48 [INFO] Attempting SSH > connection... > 2018/12/13 06:28:48 packer: 2018/12/13 06:28:48 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:28:48 packer: 2018/12/13 06:28:48 [DEBUG] handshaking with > SSH > 2018/12/13 06:29:48 packer: 2018/12/13 06:29:48 [DEBUG] SSH handshake err: > Timeout during SSH handshake > 2018/12/13 06:29:55 packer: 2018/12/13 06:29:55 [INFO] Attempting SSH > connection... > 2018/12/13 06:29:55 packer: 2018/12/13 06:29:55 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:29:55 packer: 2018/12/13 06:29:55 [DEBUG] handshaking with > SSH > 2018/12/13 06:30:55 packer: 2018/12/13 06:30:55 [DEBUG] SSH handshake err: > Timeout during SSH handshake > 2018/12/13 06:31:02 packer: 2018/12/13 06:31:02 [INFO] Attempting SSH > connection... > 2018/12/13 06:31:02 packer: 2018/12/13 06:31:02 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:31:02 packer: 2018/12/13 06:31:02 [DEBUG] handshaking with > SSH > 2018/12/13 06:32:02 packer: 2018/12/13 06:32:02 [DEBUG] SSH handshake err: > Timeout during SSH handshake > 2018/12/13 06:32:09 packer: 2018/12/13 06:32:09 [INFO] Attempting SSH > connection... > 2018/12/13 06:32:09 packer: 2018/12/13 06:32:09 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:32:09 packer: 2018/12/13 06:32:09 [DEBUG] handshaking with > SSH > 2018/12/13 06:33:09 packer: 2018/12/13 06:33:09 [DEBUG] SSH handshake err: > Timeout during SSH handshake > 2018/12/13 06:33:16 packer: 2018/12/13 06:33:16 [INFO] Attempting SSH > connection... > 2018/12/13 06:33:16 packer: 2018/12/13 06:33:16 [DEBUG] reconnecting to > TCP connection for SSH > 2018/12/13 06:33:16 packer: 2018/12/13 06:33:16 [DEBUG] handshaking with > SSH > 2018/12/13 06:34:16 packer: 2018/12/13 06:34:16 [DEBUG] SSH handshake err: > Timeout during SSH handshake > > -- > 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/3c3b9530-743e-4253-a01f-ccf2b9526930%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/3c3b9530-743e-4253-a01f-ccf2b9526930%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CALz9Rt9vErprcQrcaz%2Bn32TbJtv7cMKHA09syymR1yFmMyDJxg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
