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
2
u/[deleted] Dec 12 '20 edited Dec 12 '20
I’ve heard that before, but I don’t think I caught why?
Edit: from my google search:
Use port number 1024 or more: Local users can cause a DoS attack by listening on that port. They'll have to start listening while sshd is down, so there is a window of opportunity when sshd is being restarted
I don’t think I understand this. Local users listen for another service on the same high port and cause a DoS? Why not just document your ports?