Skip to content
Snippets Groups Projects
Commit a5898701 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

alternative but not implemented method for version checking

parent fb514b59
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,14 @@ sub get_ssh_version
elsif ($l eq ' ssh-keygen -l [-v] [-E fingerprint_hash] [-f input_keyfile]') { $has_E= 1; }
}
if ($version eq 'unknown')
{
my @cmd2= qw(ssh -V); # let's try this ...
my $res2= `@cmd2 2>&1`;
print "res2=[$res2]\n";
# TODO: figure out how to match that ...
}
($version, $has_E);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment