Skip to content

Commit

Permalink
Temporary change to help debugging string(s) returned by sshd -V
Browse files Browse the repository at this point in the history
when sshd is not being identified as an OpenSSH daemon
  • Loading branch information
yangtse committed Nov 19, 2007
1 parent 5be00c9 commit 968e943
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/sshserver.pl
Expand Up @@ -135,6 +135,8 @@ sub searchpath {
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";
Expand Down

0 comments on commit 968e943

Please sign in to comment.