mirror of https://github.com/openspug/spug
F Fix #534
parent
f07b986cd8
commit
eadb1bedb2
|
@ -97,7 +97,7 @@ class Git:
|
|||
self.fd = NamedTemporaryFile()
|
||||
self.fd.write(self.pkey.encode())
|
||||
self.fd.flush()
|
||||
self.env = {'GIT_SSH_COMMAND': f'ssh -i {self.fd.name}'}
|
||||
self.env = {'GIT_SSH_COMMAND': f'ssh -o StrictHostKeyChecking=no -i {self.fd.name}'}
|
||||
self.repo = self._get_repo()
|
||||
return self
|
||||
|
||||
|
|
Loading…
Reference in New Issue