Temporary change to help debugging string(s) returned by sshd -V

when sshd is not being identified as an OpenSSH daemon
This commit is contained in:
Yang Tse 2007-11-19 01:49:28 +00:00
parent 5be00c95a7
commit 968e943eac
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,8 @@ if ($verbose) {
if (($ssh_daemon !~ /OpenSSH/) || (10 * $ssh_ver_major + $ssh_ver_minor < 37)) {
if(!$ssh_daemon) {
print "SSH server daemon found is not an OpenSSH daemon\n";
chomp($tmpstr = qx($sshd -V 2>&1));
print "$tmpstr\n";
}
else {
print "SSH server daemon found is OpenSSH $ssh_ver_major.$ssh_ver_minor\n";