diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-08-29 17:13:24 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-08-29 17:13:24 -0300 |
commit | 729ca302e389f63e0bc3432f57424123312f3e63 (patch) | |
tree | ac34a0ebcdd9c00a049cd5ef5f8b6a2e2382c190 | |
parent | 85b3c597865c13cc7c6253332936ac266c74f164 (diff) | |
download | pfsense-729ca302e389f63e0bc3432f57424123312f3e63.zip pfsense-729ca302e389f63e0bc3432f57424123312f3e63.tar.gz |
Hide FreeBSD version from sshd banner. It fixes #3840
-rwxr-xr-x | etc/sshd | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -120,6 +120,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")) { |