]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordtucker@openbsd.org <dtucker@openbsd.org>
Tue, 14 Apr 2015 04:17:03 +0000 (04:17 +0000)
committerDamien Miller <djm@mindrot.org>
Wed, 29 Apr 2015 08:13:07 +0000 (18:13 +1000)
Output remote username in debug output since with Host
 and Match it's not always obvious what it will be.  bz#2368, ok djm@

sshconnect.c

index 0a52ada409ba6e376f7defd5b4b81597e317e109..f5b697347dfef8f51915c66836032c0d20b8bc06 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.260 2015/03/24 01:11:12 djm Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.261 2015/04/14 04:17:03 dtucker Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1350,6 +1350,7 @@ ssh_login(Sensitive *sensitive, const char *orighost,
 
        /* key exchange */
        /* authenticate user */
+       debug("Authenticating to %s:%d as '%s'", host, port, server_user);
        if (compat20) {
                ssh_kex2(host, hostaddr, port);
                ssh_userauth2(local_user, server_user, host, sensitive);