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>2020-02-21 12:08:02 +0000
commit7d20d00ea24ec0c3fffacc80ab271d0699d198c6 (patch)
tree2a59419afa18a01c9f1982fad485111e1d4fd6ac /sshconnect.c
parenta4f868858c3395cacb59c58786b501317b9a3d03 (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: 2020-02-21 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 b796d3c8a..9f2412e0d 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1292,7 +1292,7 @@ ssh_login(struct ssh *ssh, Sensitive *sensitive, const char *orighost,
1292 lowercase(host); 1292 lowercase(host);
1293 1293
1294 /* Exchange protocol version identification strings with the server. */ 1294 /* Exchange protocol version identification strings with the server. */
1295 if (kex_exchange_identification(ssh, timeout_ms, NULL) != 0) 1295 if (kex_exchange_identification(ssh, timeout_ms, 1, NULL) != 0)
1296 cleanup_exit(255); /* error already logged */ 1296 cleanup_exit(255); /* error already logged */
1297 1297
1298 /* Put the connection into non-blocking mode. */ 1298 /* Put the connection into non-blocking mode. */