From: Tom Hughes Date: Sun, 9 Feb 2020 15:37:30 +0000 (+0000) Subject: Improve name selection in SSHFP record generation X-Git-Url: https://git.openstreetmap.org/dns.git/commitdiff_plain/31164677ad3e0d140d2ef7061354115c8739eec7 Improve name selection in SSHFP record generation --- diff --git a/bin/mksshfp b/bin/mksshfp index 314eb43..3c1cd1d 100755 --- a/bin/mksshfp +++ b/bin/mksshfp @@ -8,7 +8,7 @@ if (-f "/etc/ssh/ssh_known_hosts") while (my $line = ) { - if ($line =~ /^(\S+) IN SSHFP (\d+) (\d+) ([0-9A-F]+)$/) + if ($line =~ /^(\S+)\.openstreetmap\.org IN SSHFP (\d+) (\d+) ([0-9A-F]+)$/) { my $host = $1; my $algorithm = $2;