From 085c44daefaee16df97e1b2a0967b2140cc86de0 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Sun, 9 Feb 2014 16:10:06 +0000 Subject: 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 --- sshd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index e3e96426e..1e7ece588 100644 --- a/sshd.c +++ b/sshd.c @@ -2160,7 +2160,8 @@ main(int ac, char **av) if (!debug_flag) alarm(options.login_grace_time); - if (kex_exchange_identification(ssh, -1, options.version_addendum) != 0) + if (kex_exchange_identification(ssh, -1, options.debian_banner, + options.version_addendum) != 0) cleanup_exit(255); /* error already logged */ ssh_packet_set_nonblocking(ssh); -- cgit v1.2.3