diff options
author | Kees Cook <kees@debian.org> | 2014-02-09 16:10:06 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-06-05 13:11:52 +0100 |
commit | 085c44daefaee16df97e1b2a0967b2140cc86de0 (patch) | |
tree | 4db0ecfc67c71202126eda6812fac6e49fa20f97 /sshconnect.c | |
parent | 85e700a732e9a308eeee67f5a284e19fd6befbb8 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c index 0b6f6af4b..1183ffe0e 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1287,7 +1287,7 @@ ssh_login(struct ssh *ssh, Sensitive *sensitive, const char *orighost, | |||
1287 | lowercase(host); | 1287 | lowercase(host); |
1288 | 1288 | ||
1289 | /* Exchange protocol version identification strings with the server. */ | 1289 | /* Exchange protocol version identification strings with the server. */ |
1290 | if (kex_exchange_identification(ssh, timeout_ms, NULL) != 0) | 1290 | if (kex_exchange_identification(ssh, timeout_ms, 1, NULL) != 0) |
1291 | cleanup_exit(255); /* error already logged */ | 1291 | cleanup_exit(255); /* error already logged */ |
1292 | 1292 | ||
1293 | /* Put the connection into non-blocking mode. */ | 1293 | /* Put the connection into non-blocking mode. */ |