This Is Your Brain On Informatics: DenyHosts: Difference between revisions

Tikenn (talk | contribs)
No edit summary
Tikenn (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:


== Important Files ==
== Important Files ==
There are two important files in DenyHosts in order to make sure that it runs properly.  The location of both of these files can be found in [[This Is Your Brain On Informatics: Common Pathnames|common pathnames]].
There are two important files in DenyHosts in order to make sure that it runs properly: ''hosts.deny'' and ''hosts.allow''.  The location of both of these files can be found in [[This Is Your Brain On Informatics: Common Pathnames|common pathnames]].


=== hosts.deny ===
=== hosts.deny ===
Line 16: Line 16:


=== hosts.allow ===
=== hosts.allow ===
This file gives permanent access to a server so that recorded IP addresses in this file will not be placed in the hosts.deny file.  This file can be used if DenyHosts is glitching and constantly placing your IP address in hosts.deny.  The syntax for permanently allowing an IP address to ssh into the server is shown below.
This file gives permanent ssh access to IP addresses listed inside by preventing them from being placed in the hosts.deny file.  This file can be used if DenyHosts is glitching and constantly placing your IP address in hosts.deny.  The syntax for permanently allowing an IP address to ssh into the server is shown below.


<pre>
<pre>
Line 24: Line 24:


{{This Is Your Brain On Informatics}}
{{This Is Your Brain On Informatics}}
[[Category:This Is Your Brain On Informatics]]