diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | clientloop.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -5,6 +5,10 @@ | |||
5 | [ssh.c] | 5 | [ssh.c] |
6 | unbreak %n expansion in LocalCommand; patch from bert.wesarg AT | 6 | unbreak %n expansion in LocalCommand; patch from bert.wesarg AT |
7 | googlemail.com; ok markus@ | 7 | googlemail.com; ok markus@ |
8 | - djm@cvs.openbsd.org 2011/01/06 22:23:02 | ||
9 | [clientloop.c] | ||
10 | when exiting due to ServerAliveTimeout, mention the hostname that caused | ||
11 | it (useful with backgrounded controlmaster) | ||
8 | 12 | ||
9 | 20110106 | 13 | 20110106 |
10 | - (djm) OpenBSD CVS Sync | 14 | - (djm) OpenBSD CVS Sync |
diff --git a/clientloop.c b/clientloop.c index 91eea8562..184671d6c 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.226 2010/11/23 23:57:24 djm Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.227 2011/01/06 22:23:02 djm 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 |
@@ -544,7 +544,7 @@ static void | |||
544 | server_alive_check(void) | 544 | server_alive_check(void) |
545 | { | 545 | { |
546 | if (packet_inc_alive_timeouts() > options.server_alive_count_max) { | 546 | if (packet_inc_alive_timeouts() > options.server_alive_count_max) { |
547 | logit("Timeout, server not responding."); | 547 | logit("Timeout, server %s not responding.", options.hostname); |
548 | cleanup_exit(255); | 548 | cleanup_exit(255); |
549 | } | 549 | } |
550 | packet_start(SSH2_MSG_GLOBAL_REQUEST); | 550 | packet_start(SSH2_MSG_GLOBAL_REQUEST); |