Re: Error message with "denyhosts"
> On December 09, 2007 at 12:14PM Andy Dills wrote: > Not sure where that random /sshd came from, but the "line 1" bit is a > pretty big hint as to where the problem is ;) > > Andy I wondered about that to; however, until today, I have never even opened that file. I have no idea where if came from. I am assuming that you do not have a similar line in your file. I am going to comment it out and see if anything new transpires. Thanks! -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Error message with "denyhosts"
On Sun, 9 Dec 2007, Gerard wrote: > I just installed 'denyhosts' on a FBSD-6.2 machine. I thought I had followed > the directions correctly, however, I continually see an error message popping > up on the screen. This is a line fro the /var/log/auth.log file. > > > Dec 9 10:56:01 scorpio sshd[1477]: warning: /etc/hosts.allow, line 1: > missing ":" separator > > This is the top of my /stc/hosts file: > > > /sshd ^ > All I added were the two lines preceding "ALL : ALL : allow". What could be > causing this problem? I don't seem to be missing any ":" separators. Not sure where that random /sshd came from, but the "line 1" bit is a pretty big hint as to where the problem is ;) Andy --- Andy Dills Xecunet, Inc. www.xecu.net 301-682-9972 --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Error message with "denyhosts"
I just installed 'denyhosts' on a FBSD-6.2 machine. I thought I had followed the directions correctly, however, I continually see an error message popping up on the screen. This is a line fro the /var/log/auth.log file. Dec 9 10:56:01 scorpio sshd[1477]: warning: /etc/hosts.allow, line 1: missing ":" separator This is the top of my /stc/hosts file: /sshd # # hosts.allow access control file for "tcp wrapped" applications. # $FreeBSD: src/etc/hosts.allow,v 1.19.8.1 2006/02/19 14:57:01 ume Exp $ # # NOTE: The hosts.deny file is deprecated. # Place both 'allow' and 'deny' rules in the hosts.allow file. # See hosts_options(5) for the format of this file. # hosts_access(5) no longer fully applies. #_ _ _ # | | __ __ __ _ _ __ ____ __ | | ___ | | # | _| \ \/ / / _` | | '_ ` _ \ | '_ \ | | / _ \ | | # | |___ > < | (_| | | | | | | | | |_) | | | | __/ |_| # |_| /_/\_\ \__,_| |_| |_| |_| | .__/ |_| \___| (_) # |_| # !!! This is an example! You will need to modify it for your specific # !!! requirements! # 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. sshd : /etc/hosts.deniedssh : deny sshd : ALL : allow ALL : ALL : allow All I added were the two lines preceding "ALL : ALL : allow". What could be causing this problem? I don't seem to be missing any ":" separators. Thanks! -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"