delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "John Pollock" <jpollock AT curl DOT com> |
To: | <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | RE: disparity between ssh-config script and sshd_config file |
Date: | Fri, 10 Nov 2000 12:50:59 -0500 |
Message-ID: | <NEBBJPGNBOKKDAEIIMIKAEJKCCAA.jpollock@curl.com> |
MIME-Version: | 1.0 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |