[openssh-commits] [openssh] 02/07: upstream commit

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Dec 18 11:47:02 EST 2014


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 17bf3d81e00f2abb414a4fd271118cf4913f049f
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Thu Dec 11 05:13:28 2014 +0000

    upstream commit
    
    show in debug output which hostkeys are being tried when
     attempting hostbased auth; patch from Iain Morgan
---
 sshconnect2.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sshconnect2.c b/sshconnect2.c
index 68f7f4f..6884d6b 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect2.c,v 1.210 2014/07/15 15:54:14 millert Exp $ */
+/* $OpenBSD: sshconnect2.c,v 1.211 2014/12/11 05:13:28 djm Exp $ */
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  * Copyright (c) 2008 Damien Miller.  All rights reserved.
@@ -1503,10 +1503,14 @@ userauth_hostbased(Authctxt *authctxt)
 		debug("No more client hostkeys for hostbased authentication.");
 		return 0;
 	}
+
+	debug("%s: trying hostkey type %s", __func__, key_type(private));
+
 	if (key_to_blob(private, &blob, &blen) == 0) {
 		key_free(private);
 		return 0;
 	}
+
 	/* figure out a name for the client host */
 	p = get_local_name(packet_get_connection_in());
 	if (p == NULL) {

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list