skips certain ssh errors and attempts to continue

should fix #10225
pull/10320/head
Brian Coca 10 years ago
parent 84e18b00d6
commit b9aa8f07be

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

Loading…
Cancel
Save