Can't login via SSH
ciscoaix at yahoo.com
Tue Apr 25 16:20:42 UTC 2006
--- Jose Borquez <bsdlists at sbcglobal.net> wrote:
> I attempt to establish an ssh connection to a remote
> server and I get
> the following error:
> "ssh_exchange_identification: Connection closed by
> remote host"
> I have checked the hosts.allow file and Everything
> is allowed by
> default. What else can I check?
> Thanks in advance,
hosts.allow is only half the story. Check your
hosts.deny. I am currently working on a script that
futzes with the hosts.deny file and occasionally
something happens in the file. I've tested and tested
and everytime I remove a particular line from
hosts.deny all is well. Go figure.
Not sure if your hosts.deny file has stuff in it, but
if it does make a backup of it then empty it out. You
should be able to connect. If you can connect then add
one line at a time to your hosts.deny then try
establishing a newly authenticated session until you
can't. Oddly one of two things, you'll either get
blocked immediately or all works and at some later
time suddenly you can't connect.
Hope that helps in some way.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the freebsd-questions