🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #268931

Re: Failed SSH Logins

#268931
From: Red John
Date: Wed, 09 Jul 2014 21:30
64 lines
3219 bytes
On 7/9/2014 12:05 PM, Anonymous Remailer (austria) wrote:> In
article <slrnlrq2d4.a1l.admin@snorky.mixmin.net>
> Zax <admin@mixmin.net> wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> On 08 Jul 2014 23:28:24 GMT, elvis-85503@notatla.org.uk wrote
in
>> Message-Id: <slrnlrovko.b3t.elvis-85503@notatla.org.uk>:
>>
>>>> look into Public/Private keys for SSH authentication. I have
>>>> read the documentation and I'm afraid that I will break my
VPS
>>>> and have to rebuild it.
>>>
>>> Add and test the keys.
>>> If they work disable password authentication afterward.
>>
>> I concur with that advice.  There is no risk, up to the point
where
>> password authentication is disabled and by then, certificate
>> authentication should have been thoroughly tested.
>>
>> John, if you need help with this, I'm happy to walk you
through it.
>> It's not as complicated as it may at first appear and it is a
*very*
>> good security measure.
>
> One thing, doesn't that mess up other programs that use it? You
> already said it was a bad idea to change the port for that reason.
>

Zax I appreciate the offer for help. I might take you up on
that. I installed Fail2ban yesterday and my first impressions
are that uninvited traffic has dropped precipitously based on my
review of auth.log and my iptables file.

I am currently just enabling ssh with these settings:

[DEFAULT]

# "ignoreip" can be an IP address, a CIDR mask or a DNS host
ignoreip = 127.0.0.1/8 xxx.xxx.xxx.xxx (my ip address)
bantime  = 600
maxretry = 5

[ssh]

enabled  = true
port     = ssh
filter   = sshd
logpath  = /var/log/auth.log
maxretry = 5

If I do a tail -1000 /var/log/auth.log I find just a couple of
instances of rogue IP's trying to gain access via ssh. The
endless strings of the same IP populating my auth.log file
appear to be over. I have one entry that was added to my
iptables file, which was good to see that this functionality
works and did not corrupt the previous entries that were in my
iptables file.
Technical Details
Message-ID: <20140709213041.547CAEAB05@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!m5no483758qaj.1!news-out.google.com!ht10ni19038qab.0!nntp.google.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!enother.net!news.mixmin.net!mail2news.mixmin.net!not-for-mail
References: <20140708230811.7FE79EAC24@snorky.mixmin.net> <slrnlrovko.b3t.elvis-85503@notatla.org.uk> <slrnlrq2d4.a1l.admin@snorky.mixmin.net> <20ac57cff054ab5ed955cfbc51ebe62c@remailer.privacy.at>

Show Full Headers
Complete Article Headers
Message-ID: <20140709213041.547CAEAB05@snorky.mixmin.net>
Subject: Re: Failed SSH Logins
Date: Wed, 09 Jul 2014 21:30:41 +0000
From: Red John <redjohn@nym.mixmin.net>
References: <20140708230811.7FE79EAC24@snorky.mixmin.net> <slrnlrovko.b3t.elvis-85503@notatla.org.uk> <slrnlrq2d4.a1l.admin@snorky.mixmin.net> <20ac57cff054ab5ed955cfbc51ebe62c@remailer.privacy.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!m5no483758qaj.1!news-out.google.com!ht10ni19038qab.0!nntp.google.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!enother.net!news.mixmin.net!mail2news.mixmin.net!not-for-mail
X-Received: by 10.58.209.227 with SMTP id mp3mr20898402vec.29.1404941454540;
MIME-Version: 1.0
Newsgroups: alt.privacy.anon-server
Lines: 65
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
X-Received-Bytes: 2697
X-Received-Body-CRC: 1553981271