Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "John Pollock" To: Subject: RE: disparity between ssh-config script and sshd_config file Date: Fri, 10 Nov 2000 12:50:59 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal >When ssh-config runs under the new cygwin, it places the public/private host >key pair in /etc. Yet when it generates sshd_config, it sets the HostKey >path to /usr/local/etc/ssh_host_key, as opposed to /etc/ssh_host_key. I >usually just go and manually edit sshd_config after running ssh-config, but >i wondered if this was intentional. I went to go look at the source for OpenSSH, but it looks like this was fixed somewhere along the line, maybe in ssh.h? #ifndef ETCDIR #define ETCDIR "/etc" define SSH_SYSTEM_HOSTFILE ETCDIR "/ssh_known_hosts" #define SSH_SYSTEM_HOSTFILE2 ETCDIR "/ssh_known_hosts2" (I don't have the old ssh.h to see if this is where the problem was). I just used the new OpenSSH and it properly sets HostKey to /etc/ssh_known_hosts instead of /usr/local/etc/ssh_known_hosts in sshd_config. Thanks to whoever fixed this! John -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com