diff options
author | 2015-04-14 04:17:03 +0000 | |
---|---|---|
committer | 2015-04-14 04:17:03 +0000 | |
commit | 17570e73adc889c0c5cd360854ffcf13ce4bdbce (patch) | |
tree | e8e22eb0926429aa1a5b7617573e62d2e9824a4a /usr.bin/ssh/sshconnect.c | |
parent | Log a more useful error message if ttyname() fails. OK deraadt@ (diff) | |
download | wireguard-openbsd-17570e73adc889c0c5cd360854ffcf13ce4bdbce.tar.xz wireguard-openbsd-17570e73adc889c0c5cd360854ffcf13ce4bdbce.zip |
Output remote username in debug output since with Host and Match it's not
always obvious what it will be. bz#2368, ok djm@
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index ac89c41b566..aec2ff84649 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -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 @@ -1324,6 +1324,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); |