Run with flag --on-error=ask.

When if fails you troubleshoot ssh both from the host and inside the VM.
And don't run headless when troubleshooting.

On Wed, Dec 18, 2019, 12:38 Bashid <farshid...@gmail.com> wrote:

> in below is also debug messages.
>
>
> 2019/12/18 11:28:41 packer: 2019/12/18 11:28:41 [INFO] 35 bytes written
> for 'uploadData'
> 2019/12/18 11:28:41 [INFO] 35 bytes written for 'uploadData'
> 2019/12/18 11:28:41 packer: 2019/12/18 11:28:41 [DEBUG] Opening new ssh
> session
> 2019/12/18 11:28:41 packer: 2019/12/18 11:28:41 [ERROR] ssh session open
> error: 'client not available', attempting reconnect
> 2019/12/18 11:28:41 packer: 2019/12/18 11:28:41 [DEBUG] reconnecting to
> TCP connection for SSH
> 2019/12/18 11:28:41 packer: 2019/12/18 11:28:41 [DEBUG] handshaking with
> SSH
> 2019/12/18
>  11:28:45 packer: 2019/12/18 11:28:45 Retryable error: Error uploading
> script: ssh: handshake failed: ssh: unable to authenticate, attempted
> methods [none password publickey], no supported methods remain
>
>
>
>
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/5f873f17-96ea-4318-a30d-01f1fae94c8b%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/5f873f17-96ea-4318-a30d-01f1fae94c8b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt_zfrWmhxa0OHryUDAPn5Su-dA7ek_F780FCH3745u86w%40mail.gmail.com.

Reply via email to