disparity between ssh-config script and sshd_config file

John Pollock jpollock@curl.com
Fri Nov 10 09:51:00 GMT 2000


>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



More information about the Cygwin mailing list