From c9584148a025b668dffc49f25984bb0965d7bd1c Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Sat, 13 May 2023 12:39:46 +0200 Subject: [PATCH] Fix issue where sshkeygen fails when ipv6 is disabled (#2248) --- management/dns_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/dns_update.py b/management/dns_update.py index 6eaff52f..29372ddf 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -465,7 +465,7 @@ def build_sshfp_records(): pass break - keys = shell("check_output", ["ssh-keyscan", "-t", "rsa,dsa,ecdsa,ed25519", "-p", str(port), "localhost"]) + keys = shell("check_output", ["ssh-keyscan", "-4", "-t", "rsa,dsa,ecdsa,ed25519", "-p", str(port), "localhost"]) keys = sorted(keys.split("\n")) for key in keys: