<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: 5 Best Practices to Prevent SSH Brute-Force Login Attacks in Linux	</title>
	<atom:link href="https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Wed, 07 Jun 2023 22:08:30 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Defying Demon		</title>
		<link>https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-2023530</link>

		<dc:creator><![CDATA[Defying Demon]]></dc:creator>
		<pubDate>Wed, 07 Jun 2023 22:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1691#comment-2023530</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-1885744&quot;&gt;Rogacz&lt;/a&gt;.

I love Tecmint&#039;s Linux content and I&#039;ll like to receive such useful content more in the future.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-1885744">Rogacz</a>.</p>
<p>I love Tecmint&#8217;s Linux content and I&#8217;ll like to receive such useful content more in the future.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-1886235</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Tue, 27 Sep 2022 04:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1691#comment-1886235</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-1885744&quot;&gt;Rogacz&lt;/a&gt;.

@Rogacz,

Thanks for sharing the tip...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-1885744">Rogacz</a>.</p>
<p>@Rogacz,</p>
<p>Thanks for sharing the tip&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rogacz		</title>
		<link>https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-1885744</link>

		<dc:creator><![CDATA[Rogacz]]></dc:creator>
		<pubDate>Mon, 26 Sep 2022 08:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1691#comment-1885744</guid>

					<description><![CDATA[I found that disabling old &lt;strong&gt;Algorithms Ciphers&lt;/strong&gt; and &lt;strong&gt;Mac&lt;/strong&gt; (see: https://infosec.mozilla.org/guidelines/openssh ) also helps as those auto attacks try to use old clients and fail on trying to negotiate the connection.]]></description>
			<content:encoded><![CDATA[<p>I found that disabling old <strong>Algorithms Ciphers</strong> and <strong>Mac</strong> (see: <a target="_blank" href="https://infosec.mozilla.org/guidelines/openssh" rel="nofollow ugc">https://infosec.mozilla.org/guidelines/openssh</a> ) also helps as those auto attacks try to use old clients and fail on trying to negotiate the connection.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Scott		</title>
		<link>https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-1691231</link>

		<dc:creator><![CDATA[Scott]]></dc:creator>
		<pubDate>Tue, 28 Dec 2021 19:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1691#comment-1691231</guid>

					<description><![CDATA[# cat /etc/redhat-release
CentOS Linux release 8.5.2111

# rpm -qa &#124; grep epel-release
epel-release-8-13.el8.noarch

# yum install denyhosts
No match for argument: denyhosts]]></description>
			<content:encoded><![CDATA[<p># cat /etc/redhat-release<br />
CentOS Linux release 8.5.2111</p>
<p># rpm -qa | grep epel-release<br />
epel-release-8-13.el8.noarch</p>
<p># yum install denyhosts<br />
No match for argument: denyhosts</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Seann Giffin		</title>
		<link>https://www.tecmint.com/prevent-ssh-brute-force-login-attacks/comment-page-1/#comment-922942</link>

		<dc:creator><![CDATA[Seann Giffin]]></dc:creator>
		<pubDate>Sun, 15 Oct 2017 01:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.tecmint.com/?p=1691#comment-922942</guid>

					<description><![CDATA[This is good. I took it one step further too. I took all the blocklists maintained by www.wizcrafts.net/iptables-blocklists.html and saved them into a single file, then wrote this shell script to filter the comments out of the list and use iptables to block entire ranges:
&lt;pre&gt;
#/bin/bash
file=&quot;wiznets.txt&quot;

while read line; do
    echo &quot; &quot;
    echo &quot;Current Line: $line&quot;
    if [[ ${line:0:1} == [0-9]* ]]; then        
        iptables -I INPUT -s $line -j DROP
        echo &quot;$line is a valid IP range. Added to iptables block list.&quot;
    else
        echo &quot;$line was skipped. Not a valid IP.&quot;
    fi
done &#060;&#034;$file&#034;
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>This is good. I took it one step further too. I took all the blocklists maintained by <a target="_blank" href="http://www.wizcrafts.net/iptables-blocklists.html" rel="nofollow ugc">http://www.wizcrafts.net/iptables-blocklists.html</a> and saved them into a single file, then wrote this shell script to filter the comments out of the list and use iptables to block entire ranges:</p>
<pre>
#/bin/bash
file="wiznets.txt"

while read line; do
    echo " "
    echo "Current Line: $line"
    if [[ ${line:0:1} == [0-9]* ]]; then        
        iptables -I INPUT -s $line -j DROP
        echo "$line is a valid IP range. Added to iptables block list."
    else
        echo "$line was skipped. Not a valid IP."
    fi
done &lt;&quot;$file&quot;
</pre>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
