summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorKees Cook <kees@debian.org>2014-02-09 16:10:06 +0000
committerColin Watson <cjwatson@debian.org>2019-10-09 23:07:49 +0100
commit4eb06adf69f21f387e4f2d29dad01b2ca1303094 (patch)
tree782c6d7db67c6754958162301c996ea4bae19572 /sshconnect.c
parent6a8dfab1a067a52b004594fadb3a90578a8cc094 (diff)
Add DebianBanner server configuration option
Setting this to "no" causes sshd to omit the Debian revision from its initial protocol handshake, for those scared by package-versioning.patch. Bug-Debian: http://bugs.debian.org/562048 Forwarded: not-needed Last-Update: 2019-06-05 Patch-Name: debian-banner.patch
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 41e75a275..27daef74f 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1291,7 +1291,7 @@ ssh_login(struct ssh *ssh, Sensitive *sensitive, const char *orighost,
1291 lowercase(host); 1291 lowercase(host);
1292 1292
1293 /* Exchange protocol version identification strings with the server. */ 1293 /* Exchange protocol version identification strings with the server. */
1294 if (kex_exchange_identification(ssh, timeout_ms, NULL) != 0) 1294 if (kex_exchange_identification(ssh, timeout_ms, 1, NULL) != 0)
1295 cleanup_exit(255); /* error already logged */ 1295 cleanup_exit(255); /* error already logged */
1296 1296
1297 /* Put the connection into non-blocking mode. */ 1297 /* Put the connection into non-blocking mode. */