Hide FreeBSD version from sshd banner. It fixes #3840
This commit is contained in:
parent
7486c1f6c1
commit
2b56c7da66
2
etc/sshd
2
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"))
|
||||
|
|
Reference in New Issue