wrap sshd

Mike Galvez galvez at virginia.edu
Fri Jun 10 22:15:56 GMT 2005

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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

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

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.

More information about the freebsd-questions mailing list