diff options
author | Kees Cook <kees@debian.org> | 2014-02-09 16:10:06 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-06-07 10:25:35 +0100 |
commit | 90c1c8771b61dd3ee0eacb4e1cfac404dc42f4b0 (patch) | |
tree | 7c28a64bbe2c91e1381e2f36dc96e39c4ba36212 /sshconnect.c | |
parent | d66c30698f807ab95aee7ea4a882c192884df047 (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-06-07
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 f20d3e792..1e5b8ea5a 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1293,7 +1293,7 @@ ssh_login(struct ssh *ssh, Sensitive *sensitive, const char *orighost, | |||
1293 | lowercase(host); | 1293 | lowercase(host); |
1294 | 1294 | ||
1295 | /* Exchange protocol version identification strings with the server. */ | 1295 | /* Exchange protocol version identification strings with the server. */ |
1296 | if ((r = kex_exchange_identification(ssh, timeout_ms, NULL)) != 0) | 1296 | if ((r = kex_exchange_identification(ssh, timeout_ms, 1, NULL)) != 0) |
1297 | sshpkt_fatal(ssh, r, "banner exchange"); | 1297 | sshpkt_fatal(ssh, r, "banner exchange"); |
1298 | 1298 | ||
1299 | /* Put the connection into non-blocking mode. */ | 1299 | /* Put the connection into non-blocking mode. */ |