Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 13:58:37 +0100
From:      Tony Finch <dot@dotat.at>
To:        des@freebsd.org, freebsd-security@freebsd.org
Cc:        dot@dotat.at
Subject:   ssh host key inconsistency
Message-ID:  <20020726135837.A7551@chiark.greenend.org.uk>

next in thread | raw e-mail | index | archive | help
I note that rc.network is now creating ssh host keys in both DSA and
RSA forms, but our sshd is only using the DSA key. Shall I commit this
patch which reverts one of our local changes?

Tony.
-- 
f.a.n.finch <dot@dotat.at> http://dotat.at/
NORTH BAILEY: SOUTHWESTERLY 5 TO 7. SQUALLY SHOWERS. GOOD.


--- servconf.c	3 Jul 2002 22:11:43 -0000	1.3.2.14
+++ servconf.c	26 Jul 2002 12:52:41 -0000
@@ -145,6 +145,8 @@
 			    _PATH_HOST_KEY_FILE;
 		if (options->protocol & SSH_PROTO_2) {
 			options->host_key_files[options->num_host_key_files++] =
+			    _PATH_HOST_RSA_KEY_FILE;
+			options->host_key_files[options->num_host_key_files++] =
 			    _PATH_HOST_DSA_KEY_FILE;
 		}
 	}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020726135837.A7551>