diff --git a/show_fingerprints.pl b/show_fingerprints.pl index d71053abfa380cebb06f4b19c63d8fa375880d5b..4c18011e7106a847960ed2066ffcc5474d551836 100755 --- a/show_fingerprints.pl +++ b/show_fingerprints.pl @@ -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); }