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

Re: Disabling access to SSH



On Tue, Nov 16, 2004 at 06:12:34PM +0900, Nick Hastings wrote:
> Deny everything (except what you explicitly allow in hosts.allow)
> # hosts.deny
> ALL: ALL
> 
> # hosts.allow
> ssh: xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy
> 
> Alternatively to allow everyone on your local network (assuming the
> standard 192.168 setup), you could do something like
> 
> # hosts.allow
> ssh: 192.168.0.0/255.255.255.0

Should those entries not be "sshd" instead of "ssh"?

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: signature.asc
Description: Digital signature


Reply to: