summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selfpublish.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/selfpublish.sh b/selfpublish.sh
index c24c9b7..1029556 100644
--- a/selfpublish.sh
+++ b/selfpublish.sh
@@ -458,7 +458,7 @@ then
458 2>&1 withsetx gpg --locate-keys "$uid" 458 2>&1 withsetx gpg --locate-keys "$uid"
459 2>/dev/null withsetx delv @1.1.1.1 -t sshfp "$hostname" 459 2>/dev/null withsetx delv @1.1.1.1 -t sshfp "$hostname"
460 export hostname HostKeyAlgorithm 460 export hostname HostKeyAlgorithm
461 2>&1 withsetx sh -c 'ssh -v -i /dev/null -o BatchMode=yes -o HostKeyAlgorithms=${HostKeyAlgorithm} -o VerifyHostKeyDNS=yes -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null "$hostname" -- true 2>&1 | tee cryptonomic.ssh.$$.log | egrep "DNS|Server host key|match:|Connecting to|Connection|Authenticating to"' 461 2>&1 withsetx sh -c 'ssh -v -i /dev/null -o BatchMode=yes -o HostKeyAlgorithms=${HostKeyAlgorithm} -o VerifyHostKeyDNS=yes -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null "$hostname" -- true 2>&1 | egrep "DNS|Server host key|match:|Connecting to|Connection|Authenticating to"'
462 462
463elif [ "$1" = hostname ] 463elif [ "$1" = hostname ]
464then 464then