new deploy: 2022-10-04T11:11:01+00:00
This commit is contained in:
parent
88aa0bf533
commit
dd0a8f4e13
8 changed files with 8 additions and 1 deletions
|
@ -545,6 +545,7 @@ on failed login attempts.</p>
|
||||||
><span class="anchor-icon">#</span></a
|
><span class="anchor-icon">#</span></a
|
||||||
>
|
>
|
||||||
</h4>
|
</h4>
|
||||||
|
<p>Open <code>fail2ban</code> configuration at <code>/etc/fail2ban/jail.conf</code> and add the following lines:</p>
|
||||||
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
||||||
</span><span style="color:#a3be8c;">enabled = true
|
</span><span style="color:#a3be8c;">enabled = true
|
||||||
</span></code></pre>
|
</span></code></pre>
|
||||||
|
|
|
@ -159,6 +159,7 @@ on failed login attempts.</p>
|
||||||
><span class="anchor-icon">#</span></a
|
><span class="anchor-icon">#</span></a
|
||||||
>
|
>
|
||||||
</h4>
|
</h4>
|
||||||
|
<p>Open <code>fail2ban</code> configuration at <code>/etc/fail2ban/jail.conf</code> and add the following lines:</p>
|
||||||
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
||||||
</span><span style="color:#a3be8c;">enabled = true
|
</span><span style="color:#a3be8c;">enabled = true
|
||||||
</span></code></pre>
|
</span></code></pre>
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -159,6 +159,7 @@ on failed login attempts.</p>
|
||||||
><span class="anchor-icon">#</span></a
|
><span class="anchor-icon">#</span></a
|
||||||
>
|
>
|
||||||
</h4>
|
</h4>
|
||||||
|
<p>Open <code>fail2ban</code> configuration at <code>/etc/fail2ban/jail.conf</code> and add the following lines:</p>
|
||||||
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
||||||
</span><span style="color:#a3be8c;">enabled = true
|
</span><span style="color:#a3be8c;">enabled = true
|
||||||
</span></code></pre>
|
</span></code></pre>
|
||||||
|
|
|
@ -159,6 +159,7 @@ on failed login attempts.</p>
|
||||||
><span class="anchor-icon">#</span></a
|
><span class="anchor-icon">#</span></a
|
||||||
>
|
>
|
||||||
</h4>
|
</h4>
|
||||||
|
<p>Open <code>fail2ban</code> configuration at <code>/etc/fail2ban/jail.conf</code> and add the following lines:</p>
|
||||||
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
||||||
</span><span style="color:#a3be8c;">enabled = true
|
</span><span style="color:#a3be8c;">enabled = true
|
||||||
</span></code></pre>
|
</span></code></pre>
|
||||||
|
|
|
@ -159,6 +159,7 @@ on failed login attempts.</p>
|
||||||
><span class="anchor-icon">#</span></a
|
><span class="anchor-icon">#</span></a
|
||||||
>
|
>
|
||||||
</h4>
|
</h4>
|
||||||
|
<p>Open <code>fail2ban</code> configuration at <code>/etc/fail2ban/jail.conf</code> and add the following lines:</p>
|
||||||
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
||||||
</span><span style="color:#a3be8c;">enabled = true
|
</span><span style="color:#a3be8c;">enabled = true
|
||||||
</span></code></pre>
|
</span></code></pre>
|
||||||
|
|
|
@ -159,6 +159,7 @@ on failed login attempts.</p>
|
||||||
><span class="anchor-icon">#</span></a
|
><span class="anchor-icon">#</span></a
|
||||||
>
|
>
|
||||||
</h4>
|
</h4>
|
||||||
|
<p>Open <code>fail2ban</code> configuration at <code>/etc/fail2ban/jail.conf</code> and add the following lines:</p>
|
||||||
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
||||||
</span><span style="color:#a3be8c;">enabled = true
|
</span><span style="color:#a3be8c;">enabled = true
|
||||||
</span></code></pre>
|
</span></code></pre>
|
||||||
|
|
|
@ -159,6 +159,7 @@ on failed login attempts.</p>
|
||||||
><span class="anchor-icon">#</span></a
|
><span class="anchor-icon">#</span></a
|
||||||
>
|
>
|
||||||
</h4>
|
</h4>
|
||||||
|
<p>Open <code>fail2ban</code> configuration at <code>/etc/fail2ban/jail.conf</code> and add the following lines:</p>
|
||||||
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
<pre data-lang="yml" style="background-color:#2b303b;color:#c0c5ce;" class="language-yml "><code class="language-yml" data-lang="yml"><span>[</span><span style="color:#a3be8c;">sshd</span><span>]
|
||||||
</span><span style="color:#a3be8c;">enabled = true
|
</span><span style="color:#a3be8c;">enabled = true
|
||||||
</span></code></pre>
|
</span></code></pre>
|
||||||
|
|
Loading…
Reference in a new issue