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

Re: SSH/SSHD local LAN only



On 2008-09-22, Jason Voorhees <jvoorhees1@gmail.com> wrote:
> Hi:
>
> man 5 sshd_config
>
> Edit /etc/ssh/sshd_config and add the following line:
>
> AllowUsers *@192.168.*.*
>
> ListenAddress directive is another way to achieve your purpose, but 
> iptables and tcp wrappers (hosts.allow & hosts.deny) are also valid methods.

Amazing how many ways there are to 'skin the cat'. Thanks for yours.

I skimmed over the man for sshd but didn't realize there was one for
'sshd_config'. The older I get the more I learn. 8-)


Reply to: