Skip to content

Commit

Permalink
F Fix #534
Browse files Browse the repository at this point in the history
  • Loading branch information
vapao committed Jul 31, 2022
1 parent f07b986 commit eadb1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spug_api/libs/gitlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __enter__(self):
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

Expand Down

0 comments on commit eadb1be

Please sign in to comment.