Push and Pull don't work
davis
Posts: 1 New member
Hello.
I can't push and pull with remote repository.
Error
- SQL Source Control 7.2.35.13078
- git 2.33.0
- Windows Server 2016
How fix it?
I can't push and pull with remote repository.
Error
git exited with code: 128
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I can push and pull using the Git command line with ssh-key authentication.
I can push and pull using the Git command line with ssh-key authentication.
- SQL Source Control 7.2.35.13078
- git 2.33.0
- Windows Server 2016
How fix it?
Tagged:
Answers
Are you using ssh-key with a passphrase?
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?
@DanC I'm using passphrase yes.
@davis did you found a solution?
Unfortunately, the issue is with using the passphrase, please see:
It is possible to use a Git repository with SSH. However, it is not possible to enter a passphrase for a SSH key, so using passphrases are not supported.
https://documentation.red-gate.com/soc/requirements-and-supported-systems/git
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?
In this case I tried now to remove the passphrase but still gives me the same error.
could it be from another common issue?
I stumbled upon this myself when I tested this scenario and think there was something caching, have you tried unlinking and relinking the database?
Short of that, I would advise checking if it's been removed properly: https://superuser.com/questions/1010542/how-to-make-git-not-prompt-for-passphrase-for-ssh-key
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?