SSH Error on Ubuntu

613 views
Skip to first unread message

Farye Nwede

unread,
May 3, 2017, 8:29:54 PM5/3/17
to Packer
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: 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: 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: 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: 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: read: connection reset by peer


Regards, 


Farye

Rickard von Essen

unread,
May 4, 2017, 1:28:09 AM5/4/17
to packe...@googlegroups.com
Could you add some more context, full template, scripts and full output etc. 

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/9b57d7c3-4e7c-446a-a8a0-91a268d5fb64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alvaro Miranda Aguilera

unread,
May 4, 2017, 3:07:22 AM5/4/17
to packe...@googlegroups.com
Hello

Have a look here:

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

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/9b57d7c3-4e7c-446a-a8a0-91a268d5fb64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Farye Nwede

unread,
May 5, 2017, 4:22:59 PM5/5/17
to packe...@googlegroups.com

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

--

To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.



 

--

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


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.
Reply all
Reply to author
Forward
0 new messages