I'm wanting to restrict root ssh login coming from all but a single IP address.
I was under the impression that I just had to add this to /etc/pam.d/sshd:
account required pam_access.so
and this to /etc/security/access.conf:
-:root:ALL EXCEPT IPADDRESS
but that doesn't seem to be working.
No comments:
Post a Comment