Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Oct 2004 15:28:52 +0100
From:      Jim Hatfield <subscriber@insignia.com>
To:        freebsd-security@freebsd.org
Subject:   Re: Question restricting ssh access for some users only
Message-ID:  <kp8dm054h3kcnm4chrm2gupsmospi6cnai@4ax.com>
In-Reply-To: <3203DF3DDE57D411AFF4009027B8C36760563C@exchange-uk.isltd.insignia.com>
References:  <3203DF3DDE57D411AFF4009027B8C36760563C@exchange-uk.isltd.insignia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kp8dm054h3kcnm4chrm2gupsmospi6cnai>