1. I would like to login to root via ssh directly while at home (192.168.1.0/24).
2. But while outside (e.g. at work), I can still login via ssh by using one of the custom accounts I created.
I just tried:
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
2. But while outside (e.g. at work), I can still login via ssh by using one of the custom accounts I created.
I just tried:
Code:
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
Last edited by a moderator: