]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
misc._ssh_keyscan(): Drop '-t rsa' 1784/head
authorZack Cerza <zack@redhat.com>
Wed, 10 Aug 2022 17:51:53 +0000 (11:51 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 10 Aug 2022 17:51:53 +0000 (11:51 -0600)
It appears to be unnecessary, and causes Ubuntu 22.04 to respond with
zero keys.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/misc.py

index 9f748f39d2dffc44950cb4110ef4b7dae481eb42..7eb8fd3d1095958b998199388abea5f1f12460ab 100644 (file)
@@ -1127,7 +1127,7 @@ def _ssh_keyscan(hostname):
     :param hostname: The hostname
     :returns: The host key
     """
-    args = ['ssh-keyscan', '-T', '1', '-t', 'rsa', hostname]
+    args = ['ssh-keyscan', '-T', '1', hostname]
     p = subprocess.Popen(
         args=args,
         stdout=subprocess.PIPE,