ssh: Disable GlobalKnownHostsFile with host_key_checking is off

pull/178/head
David Wilson 7 years ago
parent 4903052f42
commit e28e627f55

@ -93,6 +93,7 @@ class Stream(mitogen.parent.Stream):
bits += [
'-o', 'StrictHostKeyChecking no',
'-o', 'UserKnownHostsFile /dev/null',
'-o', 'GlobalKnownHostsFile /dev/null',
]
if self.ssh_args:
bits += self.ssh_args

Loading…
Cancel
Save