1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #10315 from alobbs/branch-10225

v2 Avoids ssh Runtime error
This commit is contained in:
Brian Coca 2015-02-23 10:19:00 -05:00
commit db91ab35e7

View file

@ -237,6 +237,8 @@ class Connection(ConnectionBase):
if line is None or " " not in line:
continue
tokens = line.split()
if not tokens:
continue
if tokens[0].find(self.HASHED_KEY_MAGIC) == 0:
# this is a hashed known host entry
try: