Uploaded image for project: 'SourceTree for Windows'
  1. SourceTree for Windows
  2. SRCTREEWIN-7505

FATAL ERROR: Couldn't agree a key exchange algorithm | How to remove known hosts of sourcetree?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 2.3.5.0
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Sourcetree: v.2.1.2.5
      PuTTY: Release 0.69
      Windows 10 pro, v1607 (Build 14393.1358)

    • Last commented by user?:
      true
    • Symptom Severity:
      Major

      Description

      Since start of this week, I have trouble connecting to the git repositories of my private servers.

      When I try to push, pull or fetch, I receive the following error type

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st push -v --tags xxxx master:master
      Pushing to xxxxx
      FATAL ERROR: Couldn't agree a key exchange algorithm (available: curve25519-sha256@libssh.org)
      fatal: Could not read from remote repository.
      
      Please make sure you have the correct access rights
      and the repository exists.
      

      With putty, I can log in via ssh without trouble. When i use the mingw32 console, I can execute the commands as well, although I need to type in my password everytime for the private key, since I haven't configured an ssh client for the console.

      The problem stems from some change on side of the managed servers, I assume.

      It's quite annoying, because I can't manage my remotes anymore in the client.

      I think, it could be solved by deleting the known hosts of sourcetree. But how can I do that?

        Attachments

          Activity

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Last commented:
                41 weeks ago