summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorKees Cook <kees@debian.org>2014-02-09 16:10:06 +0000
committerColin Watson <cjwatson@debian.org>2020-06-07 10:25:35 +0100
commit90c1c8771b61dd3ee0eacb4e1cfac404dc42f4b0 (patch)
tree7c28a64bbe2c91e1381e2f36dc96e39c4ba36212 /sshd.c
parentd66c30698f807ab95aee7ea4a882c192884df047 (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 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index e8b332ca4..baee13506 100644
--- a/sshd.c
+++ b/sshd.c
@@ -2181,7 +2181,7 @@ main(int ac, char **av)
2181 if (!debug_flag) 2181 if (!debug_flag)
2182 alarm(options.login_grace_time); 2182 alarm(options.login_grace_time);
2183 2183
2184 if ((r = kex_exchange_identification(ssh, -1, 2184 if ((r = kex_exchange_identification(ssh, -1, options.debian_banner,
2185 options.version_addendum)) != 0) 2185 options.version_addendum)) != 0)
2186 sshpkt_fatal(ssh, r, "banner exchange"); 2186 sshpkt_fatal(ssh, r, "banner exchange");
2187 2187