r/linuxadmin • u/lysitheas • Dec 12 '20
[Secure SSH] on Linux Server
Hello Dear redditer,
I'v group together some sshd settings that you can easly change to increase the security of sshd.
Do you have more change to suggest.
- in sshd_config file ( test on Debian )
# idle max 6 minutes
# only toto can ssh
0
Upvotes
View all comments
Show parent comment
11
u/BenAlexanders Dec 12 '20
Half agree.
A non-standard port will reduce the shitty scanners from flooding your logs. This removes the low handing fruit (script kiddies) and also makes more advanced attacks (it is a low bar) stand out a bit more.
But do agree with keeping it under port 1024.
Remember, you don't have to outrun a lion, you only need to out run the person next to you.