Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 18:15:53 -0400
From:      Mike Galvez <galvez@virginia.edu>
To:        Osmany Guirola Cruz <osmany.guirola@cigb.edu.cu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: wrap sshd
Message-ID:  <20050610221553.GB515@d-137-145-172.bootp.virginia.edu>
In-Reply-To: <1118424653.87529.5.camel@draco.cigb.edu.cu>
References:  <1118424653.87529.5.camel@draco.cigb.edu.cu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 "freebsd-questions-unsubscribe@freebsd.org"

-- 
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050610221553.GB515>