On Fri, Jun 10, 2005 at 05:30:53PM +0000, Osmany Guirola Cruz wrote:
> Hi
>  i am trying to restrict the ssh access to my machine from a specific
> machine and i am using hosts.allow but does not wor for me this is
> my /etc/hosts.allow file
> 
> 
> sshd : capella.cigb.edu.cu : deny

make sure you comment out the line below in your host.allow file or none
of your rules will work.

# Start by allowing everything (this prevents the rest of the file
# from working, so remove it when you need protection).
# The rules here work on a "First match wins" basis.
#ALL : ALL : allow <------------- 


> 
> then i restart the sshd daemon and doe not work i still have access from
> this machine ...

There is no need to restart the sshd daemon for TCP-wrappers to work.

> 
> Thanks
> 
> Osmany
> 
> 
> 
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Michael Galvez             http://www.people.virginia.edu/~mrg8n
Information Technology Specialist         University of Virginia
Manager Comptroller Systems Support         Office: 434-982-2975 
USENIX Member

Going to church does not make a person religious, nor does going to
school make a person educated, any more than going to a garage makes a
person a car.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to