I would like to login to root via ssh directly while at home (192.168.1.0/24).
But while outside (e.g. at work), I can still login via ssh by using one of the custom accounts I created.
I jus tried:
Match Address 192.168.1.0/24 PermitRootLogin yes
and now I'm completely locked out of the box. I can't login while at work and from home as well (I sshed into my other FreeBSD box).
Any ideas on how this can be done? Thank you