0

I have a rather odd problem with my server. For some reason the local hostname for my workstation keeps getting added to the /etc/hosts.deny and when I try to SSH I get:

ssh_exchange_identification: Connection closed by remote host

If I use another workstation and delete my hostname from the file, I have a about a 10 second window to login from my workstation before its added again. My workstation is running Mac OSX Mountain Lion and I'm using ssh from the Terminal. Any idea what could be up or how to find out what's up?

jasonwryan
  • 71,734
  • 34
  • 193
  • 226

1 Answers1

0

I agree with Gilles - this sounds very much like there's a tool running on your computer that monitors the ssh log for failed login attempts, like DenyHosts or Fail2ban. SSH itself won't modify the /etc/hosts.deny file.

Martin von Wittich
  • 13,857
  • 6
  • 51
  • 74