Jump to content

hosts.deny gets auto-appended


Recommended Posts

Two problems with using SSH:

 

1) When attempting to connect via ssh, I get the message

ssh_exchange_identification: Connection closed by remote host
because the /etc/hosts.deny file gets appended with a DENY message.

 

What causes the automatic entry in hosts.deny? Is it something I can turn off or workaround?

 

2) Once I manually fix the above, I have to use Webmin to fix the SSH security configuration because it keeps reverting back to require RSA authentication for root, so I have to change it back to YES each time. Is this a conf file setting (I didn't see it when I looked)?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...