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 /sshd.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 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||