Commit 968e943e authored by Yang Tse's avatar Yang Tse
Browse files

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

when sshd is not being identified as an OpenSSH daemon
parent 5be00c95
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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";