[clug] sshd ListenOnly
david
david at qednet.biz
Mon Mar 28 11:55:07 GMT 2005
I liked paul's suggestion, I read thru the man page but this
http://closedsrc.org/dn-articles/hosts_allow.html
was also very useful. It also has wider appeal :)
thanks both Paul and Kim
david
Kim Holburn wrote:
> from "man sshd_config":
>
> AllowUsers
> This keyword can be followed by a list of user name patterns,
> separated by spaces. If specified, login is allowed only for
> user names that match one of the patterns. `*' and `'?
> can be
> used as wildcards in the patterns. Only user names are
> valid; a
> numerical user ID is not recognized. By default, login is
> allowed for all users. If the pattern takes the form
> USER at HOST
> then USER and HOST are separately checked, restricting
> logins to
> particular users from particular hosts.
>
> So maybe:
> AlowUsers @hostname
> AllowUsers *@192.168.0.2
>
> On 2005 Mar 28, , at 7:56 PM, david wrote:
>
>> Hi all
>>
>> I am wading thru sshd directives, can someone suggest a conf that will
>> make sshd respond only to a single ip or a subnet?
>>
>> tia
>> --
>> ----------------------------------------------------------------
>> David Howe
>> http://www.qednet.biz
>> ----------------------------------------------------------------
>> | |
>> | Your mouse has moved. |
>> | Windows must be restarted for the change to take effect. |
>> | |
>> | |
>> | +----+ |
>> | | OK | |
>> | +----+ |
>> +-----------------------------------------------------------+
>> --
>> linux mailing list
>> linux at lists.samba.org
>> https://lists.samba.org/mailman/listinfo/linux
>>
--
----------------------------------------------------------------
David Howe
http://www.qednet.biz
----------------------------------------------------------------
| |
| Your mouse has moved. |
| Windows must be restarted for the change to take effect. |
| |
| |
| +----+ |
| | OK | |
| +----+ |
+-----------------------------------------------------------+
More information about the linux
mailing list