diff options
author | Kees Cook <kees@debian.org> | 2014-02-09 16:10:06 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-10-18 12:07:21 +0100 |
commit | 6353ee79cc71ef33a0a34d2d769a5fe327f6260d (patch) | |
tree | aea45e4915495e264f5f0c42b77a4a59df700b29 /sshconnect.c | |
parent | 707144d399b9fc959a4f6be3fd8e239c208c88ff (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 3ae20b74e..bab3916d8 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1296,7 +1296,7 @@ ssh_login(struct ssh *ssh, Sensitive *sensitive, const char *orighost, | |||
1296 | lowercase(host); | 1296 | lowercase(host); |
1297 | 1297 | ||
1298 | /* Exchange protocol version identification strings with the server. */ | 1298 | /* Exchange protocol version identification strings with the server. */ |
1299 | if ((r = kex_exchange_identification(ssh, timeout_ms, NULL)) != 0) | 1299 | if ((r = kex_exchange_identification(ssh, timeout_ms, 1, NULL)) != 0) |
1300 | sshpkt_fatal(ssh, r, "banner exchange"); | 1300 | sshpkt_fatal(ssh, r, "banner exchange"); |
1301 | 1301 | ||
1302 | /* Put the connection into non-blocking mode. */ | 1302 | /* Put the connection into non-blocking mode. */ |