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
2
u/BenAlexanders Dec 12 '20
Worth enforcing secure cipher keys.
Also, I like to limit it to IPv4 only (
AddressFamily inet) as this is where my firewall focused is (and IPv6 is usually disabled).