diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2011-01-06 22:23:03 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2011-01-06 22:23:03 +0000 |
commit | 8a084de0cd39f738ba7504f0ad836bf767b21a9b (patch) | |
tree | b824bcd4d49489bc973b4bd221a3f7dcbc33a6a4 /usr.bin/ssh/clientloop.c | |
parent | afef1c20d1c9daa2934d235372892441388c3e1d (diff) |
when exiting due to ServerAliveTimeout, mention the hostname that caused
it (useful with backgrounded controlmaster)
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index fecfc3cfc33..8d34244bd28 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.226 2010/11/23 23:57:24 djm Exp $ */ +/* $OpenBSD: clientloop.c,v 1.227 2011/01/06 22:23:02 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -536,7 +536,7 @@ static void server_alive_check(void) { if (packet_inc_alive_timeouts() > options.server_alive_count_max) { - logit("Timeout, server not responding."); + logit("Timeout, server %s not responding.", options.hostname); cleanup_exit(255); } packet_start(SSH2_MSG_GLOBAL_REQUEST); |