Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Obscurity: Does Changing Your SSH Port Lower Your Risk?.
In conjunction with the following, I've had virtually no issues:
Port 22222 #Easy to remember, rarely hit. Even if it does get hit, it takes them a little longer to scan up to this range. Move it higher if you want.
Protocol 2 #NO EXCEPTIONS!
LoginGraceTime: 60 #seconds. If you need more than 60 seconds, you're probably doing it wrong. Change to 30 if your host is fast.
PermitRootLogin No #self explanatory. No means no.
AllowUsers jefe78 otherguy #this should help if you use obscure user names
Now, combine that with denyhosts http://centoshelp.org/security/denyhosts/ and some really strict configs and you should be better off than you were.
There are no comments on this comment yet.
In conjunction with the following, I've had virtually no issues:
Port 22222 #Easy to remember, rarely hit. Even if it does get hit, it takes them a little longer to scan up to this range. Move it higher if you want.
Protocol 2 #NO EXCEPTIONS!
LoginGraceTime: 60 #seconds. If you need more than 60 seconds, you're probably doing it wrong. Change to 30 if your host is fast.
PermitRootLogin No #self explanatory. No means no.
AllowUsers jefe78 otherguy #this should help if you use obscure user names
Now, combine that with denyhosts http://centoshelp.org/security/denyhosts/ and some really strict configs and you should be better off than you were.