Re: sshd stop working
Hello
Nathan Poznick (<poznick@conwaycorp.net>) wrote:
> Thus spake Micha Feigin:
>> When I try to connect to sshd on my computer from either outside, or
>> localhost I get the following error:
>> ssh_exchange_identification: Connection closed by remote host
>> How do I solve this?
>
> Check in /etc/hosts.deny ...do you have
> ALL: PARANOID
> uncommented? If you do, and your machine does not reverse-resolve to
> the same name (i.e., foo.bar.com returns 10.3.5.7, but a lookup on
> 10.3.5.7 returns bar.foobar.com), then I believe sshd will exhibit
> behavior similar to what you're seeing.
Denying ssh access in /etc/hosts.deny will have the same effect.
best regards
Andreas Janssen
--
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Reply to: