Connection closed by remote host

Darren Tucker dtucker at zip.com.au
Sat Jan 8 10:18:12 EST 2005


Matin Tamizi wrote:
> I'm having trouble with sshd accepting connections:
> $ ssh localhost
> Password:
> Read from remote host localhost: Connection reset by peer
> Connection to localhost closed.
[...]
> I posted moreinformation on the problem at
> http://forums.gentoo.org/viewtopic.php?t=275380

The sshd log at that link has:
[sshd] fatal: Failed to get default security context for matin.
and I see that you have selinux enabled.

Vanilla Portable OpenSSH doesn't generate that message, so your sshd has 
been modified.  I would guess it's a problem with your selinux setup, 
but beyond that I can't help you.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list