summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2024-06-17 08:28:32 +0000
committerDamien Miller <djm@cvs.openbsd.org>2024-06-17 08:28:32 +0000
commit66ec48e50cfec9c1eabc60f104cf8dd7f20500de (patch)
treea1983cee5e9c0de35032d8770e682d1fec0180f5 /usr.bin/ssh
parent49a3a7bf7bc040b57acea9abaaf0ad68a5bb647e (diff)
promote connection-closed messages from verbose to info log level;
they could be the only record of the connection terminating if the client doesn't send a SSH2_MSG_DISCONNECT message. ok dtucker@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/serverloop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c
index 689d21e5263..4e052c02b6d 100644
--- a/usr.bin/ssh/serverloop.c
+++ b/usr.bin/ssh/serverloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: serverloop.c,v 1.239 2024/05/17 00:30:24 djm Exp $ */
+/* $OpenBSD: serverloop.c,v 1.240 2024/06/17 08:28:31 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -260,11 +260,11 @@ process_input(struct ssh *ssh, int connection_in)
if (errno == EAGAIN || errno == EINTR)
return 0;
if (errno == EPIPE) {
- verbose("Connection closed by %.100s port %d",
+ logit("Connection closed by %.100s port %d",
ssh_remote_ipaddr(ssh), ssh_remote_port(ssh));
return -1;
}
- verbose("Read error from remote host %s port %d: %s",
+ logit("Read error from remote host %s port %d: %s",
ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),
strerror(errno));
cleanup_exit(255);