From owner-freebsd-questions Thu Jun 27 19:17:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by hub.freebsd.org (Postfix) with ESMTP id 32AA337B49D for ; Thu, 27 Jun 2002 19:16:49 -0700 (PDT) Received: from set.ehsrealtime.com ([213.52.146.197]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17NTzb-000MID-01; Thu, 27 Jun 2002 08:47:03 +0100 Received: from waynep by set.ehsrealtime.com with local (Exim 3.34 #1) id 17NUzn-0000Eb-00; Thu, 27 Jun 2002 08:51:19 +0000 From: Wayne Pascoe To: Lord Raiden Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ssh question References: <4.2.0.58.20020626145348.009c1830@pop.netzero.net> Date: 27 Jun 2002 08:51:18 +0000 In-Reply-To: <4.2.0.58.20020626145348.009c1830@pop.netzero.net> Message-ID: Lines: 38 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lord Raiden writes: > Ok, this is a really silly question, but besides using the > "sshd -f > > config_file" way of forcing ssh to use your config file of preference, > is there a setting in a file somewhere that SSHD looks at that tells Possibly a compile time option. > it to look at a particular config file by default? Cause I'm not sure > it's going to want to use my default config file > "/etc/ssh/sshd_config" next time I reboot. It's working right now > using that file, but I want it to see that file each time If you've upgraded openssh from ports, then in your rc.conf you need the following line: sshd_program="/usr/local/sbin/sshd" sshd_flags="-f /etc/ssh/sshd_config" This will use the sshd binary that the port installed (instead of the base system one) and whatever config file you want. > automatically when it first boots. Any recommendations on how to fix > this? Or does it do that anyways even with the new version and I'm See above. > - The Raiden Knows Truly? ;) -- - Wayne Pascoe - http://www.penguinpowered.org.uk/wayne/ I haven't lost my mind... It's backed up on tape somewhere. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message