This question already has an answer here:
First, some background: I have a web server (Linux) which I run from my house. I have a relatively small website, and have just set up SSH. While modifying the firewall, I had the choice to pick either A) Allow access from anywhere or, B) Restrict to
192.168.0.0/16. I went with option B.
I spend a lot of time outside of home, however, and this restriction is getting annoying. I know that it likely adds some extra security, so I don;t know what to do.
My question is: How (in)secure is allowing anybody to try to connect to SSH? Does the risk outweigh the benefits of being able to work away from home?