Article View: alt.privacy.anon-server
Article #268932Re: Failed SSH Logins
From: Alex de Joode
Date: Wed, 09 Jul 2014 21:56
Date: Wed, 09 Jul 2014 21:56
43 lines
2554 bytes
2554 bytes
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. #1 setup ssh keys https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 #2 set 'AllowUsers yourlogin' in sshd_config http://stackoverflow.com/questions/14761473/sshd-config-allowusers #3 set PermitRootLogin=No in sshd_config http://www.tecmint.com/disable-or-enable-ssh-root-login-and-limit-ssh-access-in$ #4 add geoip to ssh logins (no need for chinese and others checking your gates) http://ts1-en.blogspot.com/2009/06/ssh-access-control-with-geoip.html #5 add denyhosts or fail2ban Cheers! -- bitcoins:1QAthQz4LKHWZURTVax5F75mj6d5uY8shW
Technical Details
Message-ID:
<lpkdq0$udv$1@toxic.dizum.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!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!rt.uk.eu.org!news.mixmin.net!sewer!.POSTED!not-for-mailReferences:
<20140708230811.7FE79EAC24@snorky.mixmin.net> <slrnlrovko.b3t.elvis-85503@notatla.org.uk> <slrnlrq2d4.a1l.admin@snorky.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <lpkdq0$udv$1@toxic.dizum.net> Subject: Re: Failed SSH Logins Date: Wed, 09 Jul 2014 21:56:16 +0000 From: Alex de Joode <usura@despair.sabotage.org> References: <20140708230811.7FE79EAC24@snorky.mixmin.net> <slrnlrovko.b3t.elvis-85503@notatla.org.uk> <slrnlrq2d4.a1l.admin@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!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!rt.uk.eu.org!news.mixmin.net!sewer!.POSTED!not-for-mail Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider. Lines: 43 NNTP-Posting-Host: despair.sabotage.org X-Trace: toxic.dizum.net 1404942976 31167 46.23.85.40 (9 Jul 2014 21:56:16 GMT) X-Complaints-To: abuse@dizum.net NNTP-Posting-Date: Wed, 9 Jul 2014 21:56:16 +0000 (UTC) Cancel-Lock: sha1:LXM2wxLuRUFjTkQw8blHr3faAIk=