News for hackers. Stuff that matters.
Re:My First 10 Minutes on a Server by Someone1234 on Wednesday June 15, 2016 @12:16PM (#11910213)
Why do people install fail2ban then disable password based authentication entirely? I legitimately don't understand the purpose.

Also, they complain about log spam (from failed SSH attempts) this is one reason to move SSH to a different port. It does NOT increase security, but it DOES reduce log spam from bots trying for easy targets.

Re:My First 10 Minutes on a Server by e1ven on Wednesday June 15, 2016 @12:26PM (#11910268)
Fail2ban can be used to block IPs based on any log file, not just SSH - I believe the author uses an Apache log in the example.
Re:My First 10 Minutes on a Server by geerlingguy on Wednesday June 15, 2016 @04:30PM (#11911948)
It also has rules for mailers, and other utilities, which I often use just because they're nice and simple to work with.
Re:My First 10 Minutes on a Server by treerunner on Wednesday June 15, 2016 @01:16PM (#11910601)
I always change the ssh port to something other than 22. It has always seemed to work well for me for most automated attacks. Perhaps this is not advisable for some reason?
Re:My First 10 Minutes on a Server by carlisle_ on Wednesday June 15, 2016 @02:59PM (#11911253)
There is a slight security concern to binding it to a port above 1024 in that a non-privileged user can bind to that port and MITM.

Here is a good summary of the different options you have with ssh and choosing a port:

http://serverfault.com/questions/619898/should-i-change-the-...

Re:My First 10 Minutes on a Server by supbpeerr on Thursday June 16, 2016 @03:19AM (#11914560)
From experience, running ssh on non-default port have mostly reduced automated login attempts to 0, year after year.
Re:My First 10 Minutes on a Server by vacri on Wednesday June 15, 2016 @05:45PM (#11912393)
fail2ban installed = less logspam, and never having to adjust default port with whatever tool is ssh'ing

moving ssh port = less logspam, but now you have to specify your ssh port in every tool that uses it, and it's one more thing that other staff have to remember

Re:My First 10 Minutes on a Server by justinhj on Wednesday June 15, 2016 @07:17PM (#11912839)
Have you tried it both ways? some scripted attacks will try 22 find that it is open then spam it with attacks. If it's not open they will have to scan your ports then spam you with attacks