Bug 2149 - ssh client shows connection closed by remote host
Summary: ssh client shows connection closed by remote host
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 6.0p1
Hardware: PPC Linux
: P5 major
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 04:00 AEST by fanzhiqiang
Modified: 2015-08-11 23:03 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fanzhiqiang 2013-09-09 04:00:52 AEST
sshd server environment: montavista linux with openssh 6.0(openssl 0.9.8)
when i connect the sshd server, it prints "connection closed by remote host". When i login the system from com port, there are many "sshd -R" processes which process state is D state(means blocked in the kernel state).
when i read the code: when client prints "connection closed by remote host", it means client can not read the version string from the remote server. The read function returns an EPIPE errorcode.
Is this a known problem? how can i fix it?
Comment 1 Damien Miller 2013-09-19 10:45:22 AEST
processes stuck in 'D' state are often the result of waiting for an unreachable NFS server or kernel bugs. If you are not using NFS then check dmesg for signs of problems.
Comment 2 Damien Miller 2013-10-24 10:33:59 AEDT
In any case, we'll need a full debug trace from both the client and the server to debug this.
Comment 3 Damien Miller 2014-07-03 16:21:05 AEST
8 months with no followup == no bug
Comment 4 Damien Miller 2015-08-11 23:03:10 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1