This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
RE: disparity between ssh-config script and sshd_config file
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: RE: disparity between ssh-config script and sshd_config file
- From: "John Pollock" <jpollock at curl dot com>
- Date: Fri, 10 Nov 2000 12:50:59 -0500
>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@sourceware.cygnus.com