mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
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:
parent
5be00c95a7
commit
968e943eac
@ -135,6 +135,8 @@ if ($verbose) {
|
|||||||
if (($ssh_daemon !~ /OpenSSH/) || (10 * $ssh_ver_major + $ssh_ver_minor < 37)) {
|
if (($ssh_daemon !~ /OpenSSH/) || (10 * $ssh_ver_major + $ssh_ver_minor < 37)) {
|
||||||
if(!$ssh_daemon) {
|
if(!$ssh_daemon) {
|
||||||
print "SSH server daemon found is not an OpenSSH daemon\n";
|
print "SSH server daemon found is not an OpenSSH daemon\n";
|
||||||
|
chomp($tmpstr = qx($sshd -V 2>&1));
|
||||||
|
print "$tmpstr\n";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
print "SSH server daemon found is OpenSSH $ssh_ver_major.$ssh_ver_minor\n";
|
print "SSH server daemon found is OpenSSH $ssh_ver_major.$ssh_ver_minor\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user