On CentOS 6 this results in sshd being started with --help argument, and has resulted in:
many sshd logged events about 'Cannot bind any address' when sshd is already running
if current this is ran when sshd is not already running, this will then run but won't accept any connections - effectively taking the host offline in regards to ssh
The issue is this piece of code, which appears to be trying to identify the sshd version:
A better version needs to be found. May I suggest '-V' as a quick fix?
using --help will result in an error on CentOS 7, where on CentOPS 6 it ignores that option and runs anwyay.
using -V will also result in an error, but it does the same for both CentOS 6 and CentOS 7.