SourceTree does not prompt me for usernames or passwords when cloning a remote Git repository.
I am running SourceTree 0.9.0.5 for Windows 7.
I have tried source URLs of the following forms:
ssh://git.example.com/path/to/repo/repo.git
ssh://user@git.example.com/path/to/repo/repo.git
ssh://user:pass@git.example.com/path/to/repo/repo.git
None of these initiate any sort of prompt. As soon as I move focus out of the source input, it thinks, the details say "fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists".
I can perform all git operations against the same URLs with Msysgit's git bash interface.
Right now you need to use SSH keys to use the SSH protocol, which is the default for most SSH hosts like Bitbucket and GitHub. Manual password prompting is only supported for HTTPS URLs right now.
Not the answer I was hoping to hear, but it does answer the question definitively.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We didn't have this explicitly tracked so I've created an improvement request for it: https://jira.atlassian.com/browse/SRCTREEWIN-424
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, great news! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the meantime you can try an expect script instead! That'll let you set the ssh password in the script.
More information here: http://bash.cyberciti.biz/security/expect-ssh-login-script/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, but actually this has since been resolved and you can use manual passwords if your server supports them now. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.