Skip to content

too difficult to use #1390

Answered by Byron
lybmccree asked this question in Q&A
Discussion options

You must be logged in to vote

GitPython calls git in a way that hides the terminal which sometimes leads to authentication issues. Since the password is empty, I'd expect using the private key on the client machine not to be the problem.

Searching for Hist key verification failed yields this answer which points the finger at the remote host. Probably SSH wants to ask if using this host key is alright, as it apparently isn't known yet, but it can't as there is no Terminal.

You could try to use HTTPS remote URLs instead of the ones using SSH as this bypasses the need for a key entirely. Alternatively, you could use this portion of the docs to configure a custom ssh executable and pass the required ssh flags.

ssh_executable

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1389 on January 06, 2022 13:17.