Hide FreeBSD version from sshd banner. It fixes #3840

This commit is contained in:
Renato Botelho 2014-08-29 17:13:24 -03:00
parent 7486c1f6c1
commit 2b56c7da66
1 changed files with 2 additions and 0 deletions

View File

@ -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"))