Hosts.deny auto blocking 127.0.0.1

Asked by ubuntubaby

I installed rkhunter root kit once I did this hosts.deny started to add this "sshd: 127.0.0.1" to my hosts.deny file automatically since then I have uninstalled rkhuntert but by loop back address keep getting added to hosts.deny.

I stopped the denyhosts removed the entry from hosts.deny then restated denyhosts but "sshd: 127.0.0.1" keeps getting added to hosts.deny

how can I resolve this issue please

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Rolando Blanco
Solved:
Last query:
Last reply:
Revision history for this message
Best Rolando Blanco (rolando) said :
#1

Try checking the ufw, type in a shell:

     sudo ufw status

and paste the output here,

If you have any kind of rule here, then try:

   sudo ufw allow from 127.0.0.0/8

This will allow all to localhost

Revision history for this message
Rolando Blanco (rolando) said :
#2

Oh! please check your /etc/ssh/sshd_config too.
If have not idea about it, in a terminal use

   cat /etc/ssh/sshd_config

and the output paste here please.

Revision history for this message
ubuntubaby (linux-1234) said :
#3

Thanks so much Rolando this worked

Thanks

gary

--- On Thu, 9/11/08, Rolando F. Blanco C:. <email address hidden> wrote:
From: Rolando F. Blanco C:. <email address hidden>
Subject: Re: [Question #44869]: Hosts.deny auto blocking 127.0.0.1
To: <email address hidden>
Date: Thursday, September 11, 2008, 6:29 PM

Your question #44869 on Ubuntu changed:
https://answers.edge.launchpad.net/ubuntu/+question/44869

Rolando F. Blanco C:. requested for more information:
Oh! please check your /etc/ssh/sshd_config too.
If have not idea about it, in a terminal use

   cat /etc/ssh/sshd_config

and the output paste here please.

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.edge.launchpad.net/ubuntu/+question/44869

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
ubuntubaby (linux-1234) said :
#4

Thanks Rolando F. Blanco C:., that solved my question.

Revision history for this message
ubuntubaby (linux-1234) said :
#5

Thanks so much Rolando this was driving me crazy and you solved it just like wow