summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@users.noreply.github.com>2015-02-14 08:29:36 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-03-20 16:04:11 -0300
commitc2b0382055df006659dff56c48f981c4ec5b79c6 (patch)
tree7f2f922da216010ea2151035c6ee507b91c9e5ab /etc
parentc1ef7cfb41497068d0d0fea6817eb370d91baef3 (diff)
downloadpfsense-c2b0382055df006659dff56c48f981c4ec5b79c6.zip
pfsense-c2b0382055df006659dff56c48f981c4ec5b79c6.tar.gz
Use `none` instead of a whitespace in sshd_config
Use the `none` keyword instead of a whitespace to disable the FreeBSD version in sshd_config.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/sshd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/sshd b/etc/sshd
index 6982554..007b73c 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -123,8 +123,8 @@
/* Run the server on another port if we have one defined */
$sshconf .= "Port $sshport\n";
/* Hide FreeBSD version */
- $sshconf .= "VersionAddendum \n";
-
+ $sshconf .= "VersionAddendum none\n";
+
/* Apply package SSHDCond settings if config file exists */
if (file_exists("/etc/sshd_extra")) {
$fdExtra = fopen("/etc/sshd_extra", 'r');
OpenPOWER on IntegriCloud