Re: ssh_exchange_identification: Connection closed by remote host



Juraj Lutter wrote:
mouss wrote:

I tried with secureCRT and with openssh from a netbsd, debian and centos boxes. same error.
I googled for the error, and it seems popular!
- I don't think it's an /etc/host* issue, as I was connected to the box multiple times (and I tried from multiple IPs).
- I tried from a vmware hosts with no keys, just to make sure it's not a key issue.

could this be a dns issue? the host is running a "caching" bind. I would prefer not to disable dns lookup, but if this causes trouble...


This seems to be more a /etc/hosts.allow issue.


I found the problem:
fatal: /var/empty must be owned by root and not group or world-writable.
I have created an account and set the home to /var/empty, but this changed the owner of /var/empty. sigh.

I should have found
http://www.darkknight.demon.co.uk/prdb/unix/ssh.html
sooner ;-p

thanks to all who responded.


_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: ssh_exchange_identification: Connection closed by remote host
    ... - I don't think it's an /etc/host* issue, as I was connected to the box multiple times. ... - I tried from a vmware hosts with no keys, just to make sure it's not a key issue. ... I would prefer not to disable dns lookup, ...
    (freebsd-current)
  • Re: Encase 4.20 (the premier computer forensics tool) Posted
    ... > easier to just monitor the communication. ... > erasing and rewriting the bits multiple times does obscure the data. ... Man in the middle attack is no problem if you are using keys ...
    (alt.computer.security)
  • Pattern match over mutiple files is slow - Help Needed !
    ... Am having a huge performance problem in one of my scripts. ... I have an array containing some reference keys. ... Constraints being that multiple keys may occur on the same line (and ... even the same key will occur multiple times on the same line). ...
    (comp.lang.perl.misc)
  • Re: Returning part of a hash
    ... 2007/7/11, barjunk: ... with just three of those keys. ... I could do the above multiple times, but this returns an array not the ...
    (comp.lang.ruby)