看板FB_security
标 题Re: Question restricting ssh access for some users only
发信站NCTU CSIE FreeBSD Server (Fri Oct 8 22:20:23 2004)
转信站ptt!FreeBSD.csie.NCTU!not-for-mail
On Thu, 7 Oct 2004 21:14:07 +0100 , in local.freebsd.security you
wrote:
>
>have you tried using /etc/login.access?
Hmm, looks like sshd does not consult this file!
I'm connecting as user "mis" and the client machine is
172.16.64.16 so I put this at the bottom:
+:mis:172.16.64.16
and it let me in from a different machine.
I tried adding this below:
-:ALL:ALL
but it made no difference. I did HUP sshd.
jim
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "
[email protected]"