Thank you for your help. I believe the problem sprang up from the ssh_port 
field. All was good once I removed that. Thanks!

Farye

From: <[email protected]> on behalf of Alvaro Miranda Aguilera 
<[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, May 4, 2017 at 12:07 AM
To: "[email protected]" <[email protected]>
Subject: Re: [packer] SSH Error on Ubuntu

Hello

Have a look here:
https://github.com/cbednarski/packer-ubuntu

And give it a go, I use it all the time without problems.

Once you have a full working starting point, start doing changes.

Alvaro

On Thu, May 4, 2017 at 2:29 AM, Farye Nwede 
<[email protected]<mailto:[email protected]>> wrote:
I'm not sure if this is the best place for this. I'm encountering this error. 
My host system is Ubuntu 14.04. The system that I'm trying to build is Ubuntu 
16.04. Any ideas on what may be the cause:


2017/05/03 17:22:20 packer: 2017/05/03 17:22:20 [DEBUG] SSH handshake err: ssh: 
handshake failed: read tcp 
127.0.0.1:53257->127.0.0.1:2818<http://127.0.0.1:2818>: read: connection reset 
by peer

2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 [INFO] Attempting SSH 
connection...

2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 reconnecting to TCP connection 
for SSH

2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 handshaking with SSH

2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 handshake error: ssh: handshake 
failed: read tcp 127.0.0.1:53259->127.0.0.1:2818<http://127.0.0.1:2818>: read: 
connection reset by peer

2017/05/03 17:22:27 packer: 2017/05/03 17:22:27 [DEBUG] SSH handshake err: ssh: 
handshake failed: read tcp 
127.0.0.1:53259->127.0.0.1:2818<http://127.0.0.1:2818>: read: connection reset 
by peer

2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 [INFO] Attempting SSH 
connection...

2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 reconnecting to TCP connection 
for SSH

2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 handshaking with SSH

2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 handshake error: ssh: handshake 
failed: read tcp 127.0.0.1:53261->127.0.0.1:2818<http://127.0.0.1:2818>: read: 
connection reset by peer

2017/05/03 17:22:34 packer: 2017/05/03 17:22:34 [DEBUG] SSH handshake err: ssh: 
handshake failed: read tcp 
127.0.0.1:53261->127.0.0.1:2818<http://127.0.0.1:2818>: read: connection reset 
by peer



Regards,



Farye
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/9b57d7c3-4e7c-446a-a8a0-91a268d5fb64%40googlegroups.com<https://groups.google.com/d/msgid/packer-tool/9b57d7c3-4e7c-446a-a8a0-91a268d5fb64%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
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 a topic in the Google 
Groups "Packer" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/packer-tool/U1ih7-hU5GU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0eyY8-ca4o%2Bje1fBn2ON0FEuDgK93Ry_igJsYtuU_gXLgg%40mail.gmail.com<https://groups.google.com/d/msgid/packer-tool/CAHqq0eyY8-ca4o%2Bje1fBn2ON0FEuDgK93Ry_igJsYtuU_gXLgg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


________________________________

COGILITY SOFTWARE CORPORATION LEGAL DISCLAIMER: The information in this email 
is confidential and is intended solely for the addressee. Access to this email 
by anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful.

-- 
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/DEDFBEF0-2A34-49AD-811F-9C17373EE6F3%40cogility.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to