[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: openssh - AllowUsers



On 11/3/12, pch0317 <pch0317@gmail.com> wrote:
> Hi,
>
> I would like to allow user access to server form range of addresses from
> 192.168.0.50 to 192.168.0.70.
> How to do that with openssh?
>
> Thanks

You could try using the conditional block "Match Address" see the
manual page for sshd_config for the details.  But it might be easier
to just use IP Tables and block incoming SSH from everything except
that range of addresses.

Regards,
/Lars


Reply to: