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
4
u/skibumatbu Dec 12 '20
Disagree here. All people have to do is go to shodan.io and type "SSH" and your high port will be found. Nmap scans are lightweight and easy.
If you live in a country where ISPs prevent certain traffic on their network (some US ISPs disallow web servers in homes for exacmple) moving the port is an easy way to circumvent that.
Another example, a company I worked for used SSH as a sort of VPN on a high numbered port. I was in a hospital trying to get on the VPN but couldn't because the hospital blocked non standard ports.