Re: ssh attacks

Wesley Robbins <[email protected]> Mon, 8 Aug 2022 10:45:35 -0600
Newsgroups gmane.org.user-groups.linux.nmglug
Message-ID <CADXg78fmzh6OrrHA0sL71WxONWqNveX7f__uFcpBx9k7THmZoQ@mail.gmail.com>
Probably remove the password accept from the sshd all together.  Set
password authentication to “no” instead of commenting it out.    One gotcha
is I needed to make a config for ssh to use public key and the preferred
authentication.

On Mon, Aug 8, 2022 at 10:01 AM Aaron Birenboim <[email protected]> wrote:

> I've been getting constant ssh attacks, like several per minute.
>
> Any suggestions?   I could change the port from 22, but I don't know if
> that will do much.
>
> There used to be some sort of sshd wrapper which could ban an IP after
> failed attempts.  I think it was deprecated.   The attack IP changes,
> but there often a few dozen attacks from the same IP. Again, some
> help...  but not much.
>
> I have password access disabled.  (You need to have a key to ssh in).
> Anything else I should do?
>
> aaron
>
>
> _______________________________________________
> nmglug mailing list
> [email protected]
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>

_______________________________________________
nmglug mailing list
[email protected]
http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org