I want to block access from some external host to my ssh deamon. Is there something in the sshd_config file I can set?
Just if this matters: I'm on a Synology 1010+ with openssh installed from ipgk, if this matters.
you can do this by adding the following to your sshd_config
DenyUsers username@host
for example when you want to ssh acces from the 80.25 ip-range for root:
DenyUsers root@80.25.*
From the manpages:
The allow/deny directives are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups.