SSH: "Server unexpectedly closed network connection"

3,045 views
Skip to first unread message

lupke....@gmail.com

unread,
Aug 3, 2013, 8:16:46 AM8/3/13
to beagl...@googlegroups.com

When trying to connect to the Bone via PuTTY/SSH, I get "Server unexpectedly closed network connection".

I *can* connect as follows:

PuTTY/serial via USB.

Browser via Ethernet.

I checked the Ethernet settings:

root@beaglebone:/var/lib/connman/ethernet_9059af5def8c_cable# cat settings

[ethernet_9059af5def8c_cable]

Name=Wired

AutoConnect=true

Modified=2000-01-01T00:00:11.443220Z

IPv4.method=manual

IPv6.method=auto

IPv6.privacy=disabled

Nameservers=213.46.228.196;62.179.104.196;

IPv4.netmask_prefixlen=24

IPv4.local_address=192.168.0.131

IPv4.gateway=192.168.0.1

I tried DCHP as well, to no avail.

This is my version:

root@beaglebone:~# uname -a

Linux beaglebone 3.8.13 #1 SMP Wed Jun 5 11:21:00 CEST 2013 armv7l GNU/Linux

Any help appreciated.

Stephen Johnson

unread,
Aug 3, 2013, 6:07:46 PM8/3/13
to beagl...@googlegroups.com, lupke....@gmail.com
Check to see if the ssh key in /etc/dropbear is an empty file.  If so, remove it and start drop bear... It'll generate a valid key.

lupke....@gmail.com

unread,
Aug 4, 2013, 5:59:23 AM8/4/13
to beagl...@googlegroups.com, lupke....@gmail.com

Thanks Stephen,

 This works like a charm, very grateful for you quick fix.
 
Peter

sanjay ahuja

unread,
Aug 26, 2014, 1:02:59 PM8/26/14
to beagl...@googlegroups.com, lupke....@gmail.com
Hi Stephen,

I am too facing the same issue when connect to beaglebone using putty. I tried the the solution you mentioned but it is not working for me. Either the file is not getting deleted or there is some other issue. I am using Cloud9 IDE to delete file. Is there any other way to do so?
Any help will really be appreciated. I am newbie to beaglebone.

Thanks,
Sanjay Ahuja

aksha...@gmail.com

unread,
Oct 19, 2014, 8:24:05 PM10/19/14
to beagl...@googlegroups.com, lupke....@gmail.com
Sanjay, try the method outlined in this video


Akshay
Reply all
Reply to author
Forward
0 new messages