Changeset 2051


Ignore:
Timestamp:
Feb 21, 2016, 1:59:42 AM (18 months ago)
Author:
bruno
Message:
  • Fix DSA detection for keyscan
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 0.13.2/pb/bin/pb

    r2050 r2051  
    45034503open(SCAN,"ssh-keyscan -p $nport -t dsa $target 2>/dev/null |") || pb_log(0,"Unable to check DSA support for $target");
    45044504while(<SCAN>) {
    4505     $dsa = 1 if ($_ =~ /dsa-/);
     4505    $dsa = 1 if ($_ =~ /ssh-dss/);
    45064506    pb_log(2,"Found DSA support on $target ($nport)\n");
    45074507}
Note: See TracChangeset for help on using the changeset viewer.