From owner-freebsd-questions@FreeBSD.ORG Sat Feb 14 04:13:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AB7916A4CE for ; Sat, 14 Feb 2004 04:13:10 -0800 (PST) Received: from dragoncrest.jasnetworks.net (dragoncrest.jasnetworks.net [69.51.151.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17DCC43D1D for ; Sat, 14 Feb 2004 04:13:10 -0800 (PST) (envelope-from dragoncrest@voyager.net) Received: from works.voyager.net (testbox [192.168.0.4]) i1E7Hmke007048; Sat, 14 Feb 2004 07:17:49 GMT (envelope-from dragoncrest@voyager.net) Message-Id: <5.2.0.9.2.20040214072121.01d251a0@pop.voyager.net> X-Sender: dragoncrest@pop.voyager.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sat, 14 Feb 2004 07:23:48 -0500 To: matthew From: Dragoncrest In-Reply-To: <20040213225235.U84454@admin1.mdc.net> References: <5.2.0.9.2.20040213223723.00a1b0f0@pop.voyager.net> <5.2.0.9.2.20040213223723.00a1b0f0@pop.voyager.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: SSH problem partially solved!! Still need help. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2004 12:13:10 -0000 Huh. It was there! I thought that there might be a second sshd config file somewhere on the system, but locate and find never reported it. Weird. But everything's working as required, so I'm very happy. Thanks for all the help guys!! At 10:54 PM 2/13/04 -0500, matthew wrote: >On Fri, 13 Feb 2004, Dragoncrest wrote: > > > Ok, I finally figured out why my configs weren't loading for > > ssh. Apparently when you startup SSHD it loads some weird default > > sshd_config file that I can't seem to find. However, if I specify "sshd -f > > /etc/ssh/sshd_config" it will load my config file and my ssh works the way > > it should. Now I can obviously edit my /usr/local/etc/rc.d/sshd.sh file to > > do this on startup, but it's baffling the living heck out of me as to why > > sshd doesn't load the default /etc/ssh/sshd_config file when you load it > > from the command prompt by typing "/usr/sbin/sshd". > > > >Look in /usr/local/etc/ >sshd proably checks there first. this sort of thing happened to me >with procmail and procmail.rc. Until of course i read the man page. > >sshd will refuse to start if no config file. I reckon it is in there. > >also a locate sshd_config after running /etc/per*/week*/310* to update >the search db. > >Almost there. > >m > > > Anyone got any idea what setting in the system dictates to sshd > what the > > default config file is? I'm guessing that there's gotta be something I'm > > missing somewhere as to why sshd isn't loading the default config file like > > it should short of specifying it by hand. > > > > _______________________________________________ > > 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" > >