News for hackers. Stuff that matters.
Re:Securing your Linux web server by rodolphoarruda on Tuesday February 20, 2018 @11:20AM (#16421440)
I'm a generalist project manager.

When you say "Disable password login via ssh", what is going to be the login method from this point onwards? Via a personal certificate? Tks

Re:Securing your Linux web server by brobinson on Tuesday February 20, 2018 @11:26AM (#16421490)
You should be using public key authentication: https://www.digitalocean.com/community/tutorials/how-to-set-...

If you insist on using passwords, make sure you at least install something like fail2ban or denyhosts to block the compromised machines which are hammering your server trying to guess passwords. Clients can see which authentication methods are allowed so they know which machines to attack (i.e., yours, if you allow passwords).

Re:Securing your Linux web server by MertsA on Tuesday February 20, 2018 @12:01PM (#16421816)
Or for something even cleaner than a program trying to parse plaintext logs you can use a PAM module. https://wiki.archlinux.org/index.php/Pam_abl
Re:Securing your Linux web server by adfskjldsjfk on Tuesday February 20, 2018 @08:47PM (#16426149)
How would you compare it with fail2ban?
Re:Securing your Linux web server by Sir_Cmpwn on Tuesday February 20, 2018 @11:26AM (#16421486)
~/.ssh/authorized_keys, which is basically personal certificates.
Re:Securing your Linux web server by zmyrgel on Tuesday February 20, 2018 @01:08PM (#16422429)
Or just use actual SSH certificates instead of public keys so you don't need to have authorized_keys file at all.
Re:Securing your Linux web server by Eupolemos on Tuesday February 20, 2018 @11:31AM (#16421533)
SSH with keys.

I used this ancient video to get going: https://www.youtube.com/watch?v=Fatbs4eTdJE

Re:Securing your Linux web server by madez on Tuesday February 20, 2018 @03:22PM (#16423828)
I use a gpg smartcard to log into SSH. That way I don't need a password (technically, the smartcards reader wants the PIN, but the computer sees no PIN) and the key can't be stolen easily.
Re:Securing your Linux web server by AFNobody on Tuesday February 20, 2018 @11:29AM (#16421521)
I suggest you setup an account on Github and then create a SSH key with a passphrase:

https://help.github.com/articles/generating-a-new-ssh-key-an...

https://help.github.com/articles/testing-your-ssh-connection...

SSH Keys are substantially more secure than passwords.

Re:Securing your Linux web server by Sir_Cmpwn on Tuesday February 20, 2018 @11:31AM (#16421532)
What does GitHub have to do with it?
Re:Securing your Linux web server by AFNobody on Tuesday February 20, 2018 @01:07PM (#16422412)
Its a free way to test he knows how to use SSH w/o a SSH server to talk to on the other end.
Re:Securing your Linux web server by madez on Tuesday February 20, 2018 @05:13PM (#16424731)
One can simply start an openssh-server on localhost with some unused port for testing. There is no need for the internet, other computers or let alone other computers from somebody else over the internet for that.
Re:Securing your Linux web server by moondev on Wednesday February 21, 2018 @01:22PM (#16431617)
Yeah I'm sure they are running linux. Actually just have them build openssh from source first. Much easier then signing up for GitHub and following their guide to do a test push for a litmus test.
Re:Securing your Linux web server by AFNobody on Wednesday February 21, 2018 @02:39PM (#16432293)
The person in question is a project manager and may be using something other than linux or mac.
Re:Securing your Linux web server by rodolphoarruda on Tuesday February 27, 2018 @12:20PM (#16475573)
I use Ubuntu Gnome. The company I work for does not use any OS other than Linux.