Bug Report: Not using sysconfdir for version 2 host key

Chuck Klein eck3537 at redwood.rt.cs.boeing.com
Wed Feb 28 01:56:21 EST 2001


For what it's worth--only minimal time spent trying new version.

Bug: OpenSSH-2.5p1 does not find version 2 host key in directory
specified by sysconfdir in configure.

Env: Redhat Linux 6.2- kernel 2.2.18- Alpha ev5 processor- Compaq
XP1000- egcs-2.91.66
sysconfdir=/etc/openssh

Testing is on single host using ssh2.5p1 to connect to sshd2.5p1.

Symptom: 

[root at penguin sbin]# sshd -d  
debug1: sshd version OpenSSH_2.5.1p1
debug1: load_private_key_autodetect: type 0 RSA1
/etc/ssh_host_dsa_key: No such file or directory
error: Could not load host key: /etc/ssh_host_dsa_key: No such file or
directory
Disabling protocol version 2. Could not load host key

After moving a copy of /etc/openssh/ssh_host_dsa_key to /etc

[root at penguin sbin]# sshd -d
debug1: sshd version OpenSSH_2.5.1p1
debug1: load_private_key_autodetect: type 0 RSA1
debug1: read SSH2 private key done: name dsa w/o comment success 1
debug1: load_private_key_autodetect: type 2 DSA
debug1: Seeding random number generator

I don't follow this list, please use email for any additional info.

Thanks to all for a great product,
Chuck Klein
-- 
Edward (Chuck) Klein, Jr.             | email: edward.c.klein at boeing.com
Boeing Phantom Works		      | voice: (425) 865-5629
P.O. Box 3707, M/S 7L-40              | fax: (425) 865-2965
Seattle, WA  98124-2207





More information about the openssh-unix-dev mailing list