From 2b56c7da667daaba0e34720138e105de7f7bf7e5 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 29 Aug 2014 17:13:24 -0300 Subject: [PATCH] Hide FreeBSD version from sshd banner. It fixes #3840 --- etc/sshd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/sshd b/etc/sshd index fff1458c63..d7848a5e2b 100755 --- a/etc/sshd +++ b/etc/sshd @@ -121,6 +121,8 @@ $sshconf .= "Protocol 2\n"; /* Run the server on another port if we have one defined */ $sshconf .= "Port $sshport\n"; + /* Hide FreeBSD version */ + $sshconf .= "VersionAddendum \n"; /* Apply package SSHDCond settings if config file exists */ if(file_exists("/etc/sshd_extra"))