Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-358

repository set without username in url can't be cloned, and so submodule will never work at all

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 0.9.0.1b
    • Git
    • None
    • W7 64 bit, SP1
      git version 1.8.1.msysgit.1

    Description

      I have my own id_rsa & id_rsa.pub keys in my home folder.

      The id_rsa.pub is also set into my account in gerrit. I'm using gerrit ssh deamon to connect to git (by default port 29418).

      using git bash (and so ssh.exe) url with username is correctly cloned (ssh://myusername@mycompany:29418/module) but when I don't set username (ssh://mycompany:29418/module) it no more works.

      To make it works with ssh://myusername@mycompany:29418/module, it was still needed to convert my private key into putty format (see my answer here : https://answers.atlassian.com/questions/85262/connecting-to-remote-git-via-ssh-fails-sourcetree-sends-wrong-username )

      All this will not be an issue if I was not working with submodule. The thing is when working with submodule url stored in .gitmodule doesn't contains username (because everyone should be able to clone submodule).

      This issue seems to be due to putty usage, when using ssh.exe provide with git binairies all works well.

      I don't know if it can be fixed on putty, but may you can do the same as Git Extension does and let the user choose between putty usage or OpenSSH (ssh.exe) for ssh implementation.

      Attachments

        Issue Links

          Activity

            People

              sstreeting Steve Streeting (Inactive)
              5110020f27bf lbarbisan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: