ssh: handshake failed: ssh: unable to authenticate, attempted methods - VMware iso build failed

1,434 views
Skip to first unread message

Muthu R D

unread,
Oct 29, 2018, 10:14:30 AM10/29/18
to Packer

Trying to create VMware packer image, and getting below error message. Please help.


Build 'vmware-iso' errored: Failed creating VMware driver: Unable to initialize any driver for this platform. The errors

from each driver are shown below. Please fix at least one driver to continue:

* ssh: handshake failed: ssh: unable to authenticate, attempted methods [none keyboard-interactive], no supported methods remain

 

Environment:

·         Running the JSON from Windows 2016

·         Remote Host is Esxi 6.0

·         Trying to build Windows 2016 VM

·         Enabled ‘SSH’ from vSphere ‘Security Profile’

·         Modified ESXi host firewall to allow port ‘5900’ to ‘6000’

·         JSON attached


Thanks,

Muthu RD

vsphere-remote-windows-2016-serverstand.json

Rickard von Essen

unread,
Oct 29, 2018, 11:46:06 AM10/29/18
to packe...@googlegroups.com
Could you provide the full log.

--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/f439ab21-0133-48d7-ae0d-62534104b6e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Muthu R D

unread,
Oct 30, 2018, 1:27:03 AM10/30/18
to Packer

Thanks for checking, Attached the log file. 
Please validate and help.
packerlog.txt

Rickard von Essen

unread,
Oct 30, 2018, 4:25:16 AM10/30/18
to packe...@googlegroups.com
You are using an ancient Packer version please upgrade. Try again and attach a new log file if you still have problems.

Muthu R D

unread,
Oct 30, 2018, 5:17:57 AM10/30/18
to Packer

I am sorry If I am missing anything but I was using the latest version "Packer v1.3.2-dev" .
Please check.

Rickard von Essen

unread,
Oct 30, 2018, 6:07:22 AM10/30/18
to packe...@googlegroups.com
Oh, sorry opened the wrong Packer log. I have too many packer logs in my download dir. I'll have a look at the correct file.

Rickard von Essen

unread,
Oct 30, 2018, 6:12:01 AM10/30/18
to packe...@googlegroups.com
What happens if you ssh to you ESXi:

ssh -vvl <remote_username> <remote_host>

Using the <remote_password> what's the output of that?

From the logs it looks like your ESXi is asking for something more:
2018/10/30 09:47:09 packer.exe: 2018/10/30 09:47:09 Keyboard interactive challenge:
2018/10/30 09:47:09 packer.exe: 2018/10/30 09:47:09 -- User:
2018/10/30 09:47:09 packer.exe: 2018/10/30 09:47:09 -- Instructions:
2018/10/30 09:47:09 packer.exe: 2018/10/30 09:47:09 -- Question 1: Password:

Pandit Mali

unread,
Feb 19, 2019, 4:29:01 PM2/19/19
to Packer
Hi Muthu,

I am looking assistance from you for build Windows server 2016 using packer tool.

I have ps1 script files with me but upload and run the same Azure cloud, Please help me to how I need to use the packer tool build the custom OS.


Regards,
Pandit
Reply all
Reply to author
Forward
0 new messages