diff options
author | Jose Luis Duran <jlduran@users.noreply.github.com> | 2015-02-14 08:29:36 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-03-20 16:04:11 -0300 |
commit | c2b0382055df006659dff56c48f981c4ec5b79c6 (patch) | |
tree | 7f2f922da216010ea2151035c6ee507b91c9e5ab /etc | |
parent | c1ef7cfb41497068d0d0fea6817eb370d91baef3 (diff) | |
download | pfsense-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-x | etc/sshd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'); |