diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2015-04-14 04:17:03 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-04-29 18:13:07 +1000 |
commit | bb2289e2a47d465eaaaeff3dee2a6b7777b4c291 (patch) | |
tree | 94747057815f36c00a670e08186b40eedc678502 | |
parent | 70860b6d07461906730632f9758ff1b7c98c695a (diff) |
upstream commit
Output remote username in debug output since with Host
and Match it's not always obvious what it will be. bz#2368, ok djm@
-rw-r--r-- | sshconnect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c index 0a52ada40..f5b697347 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.260 2015/03/24 01:11:12 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.261 2015/04/14 04:17:03 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1350,6 +1350,7 @@ ssh_login(Sensitive *sensitive, const char *orighost, | |||
1350 | 1350 | ||
1351 | /* key exchange */ | 1351 | /* key exchange */ |
1352 | /* authenticate user */ | 1352 | /* authenticate user */ |
1353 | debug("Authenticating to %s:%d as '%s'", host, port, server_user); | ||
1353 | if (compat20) { | 1354 | if (compat20) { |
1354 | ssh_kex2(host, hostaddr, port); | 1355 | ssh_kex2(host, hostaddr, port); |
1355 | ssh_userauth2(local_user, server_user, host, sensitive); | 1356 | ssh_userauth2(local_user, server_user, host, sensitive); |