How can we help you today? How can we help you today?

Push and Pull don't work

Hello.
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. 

- SQL Source Control 7.2.35.13078
- git 2.33.0
- Windows Server 2016

How fix it?
davis
0

Comments

5 comments

  • DanC
    Hi @davis

    Are you using ssh-key with a passphrase?
    DanC
    0
  • volterification
    Hello, I have the same issue.
    @DanC I'm using passphrase yes.
    @davis did you found a solution?
    volterification
    0
  • DanC
    Hi @volterification

    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

    DanC
    0
  • volterification
    Thank you for your reply @DanC.
    In this case I tried now to remove the passphrase but still gives me the same error.
    could it be from another common issue?
    volterification
    0
  • DanC
    Hi @volterification

    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
    DanC
    0

Add comment

Please sign in to leave a comment.