News for hackers. Stuff that matters.
Re:Practical Linux Hardening Guide by leeoniya on Thursday January 24, 2019 @06:53PM (#18994258)
i think the main argument for leaving it default is [1] for any additional/new sysadmin that has to touch the system. but imo this goes both ways; i'd rather not have my house key hidden under my doormat, where every burglar can check for it in a few seconds. if i taped the key to a random tree branch (even in plain sight), it would be a much safer bet.

[1] https://en.wikipedia.org/wiki/Principle_of_least_astonishmen...

Re:Practical Linux Hardening Guide by throwawaymath on Thursday January 24, 2019 @07:33PM (#18994443)
If you're going to insist on a security analogy involving keys and doors in the real world, a better one would be that the attacker has to search every single atom of the doormat to find the key. If you have PubKeyAuthentication enabled and PasswordAuthentication disabled, the world will end before the attacker finds your key (in expectation).

Changing SSH to a non-standard port is an inelegant solution and doesn't actually bolster security.

Re:Practical Linux Hardening Guide by killaken2000 on Thursday January 24, 2019 @11:52PM (#18995660)
Does it _harm_ security?
Re:Practical Linux Hardening Guide by xorcist on Friday January 25, 2019 @07:33AM (#18997382)
Perahaps not directly, but it does add to cognitive overhead and makes securing the system as a whole more difficult.

If your environment contains multiple ssh servers running on non-standard ports you would not notice when something out of the ordinary happens.

Something listening to an unexpected port should be something you must look into, not shrug at.

Re:Practical Linux Hardening Guide by romeisendcoming on Monday January 28, 2019 @01:37PM (#19019851)
So standardize on a non-standard port, document it and when you do have ssh probes assume it's targeted rather than just another l33t child running du-jour crack(x).

Moving to non-standard means more sophisticated discovery and possibly a more sophisticated attempt.

Re:Practical Linux Hardening Guide by throwawaymath on Friday January 25, 2019 @12:34AM (#18995825)
No, but it is non-standard. Why do things you don't need to?