I just started to work on Git. I use windows 7 and has installed msysgit(1.7.8) and Tortoisegit(1.7.6). The repository is created on Linux server which is accessible thru LA
I had the same issue. My environment is windows 10 with TortoiseGit 2.3.0.0 and git version 2.11.0.windows.1
The following solved my problem:
What I did to fix this (windows):
Had the same problem. In my case there was no password I could enter there. The connection was configured as SSH but there were no keys defined for repo.
Check out: TortoiseGIT SSH configuration. Those instructions are for cloudforge, but for other services you have to do the same, just provide your public key to your git repository provider.
To do it without keys...
Right click on your folder
Select tortoiseGit->settings->Git->Remote
Select origin (or whatever you have labeled your main remote)
Under URL use this format.
Https://USERNAME:PASSWORD@URL
Where
USERNAME is your username
: the colon separates username and password and must be there
PASSWORD is your password
@ separates credentials with your url
URL is the url you would use to connect to the .git resource
Thanks goes to Kamaci
The URL and the window title TortoisePlink both indicate that tortoise are trying to use ssh as the transport protocol. git support more than one transport protocol, including file system access, and ssh access. In your question, you are describing that you want to access your remote repo by file system access. In that case your remote url should look something like file://server/path/to/repo
. Please check your remote repo URL again.
Pramodtech's answer stopped working for me with the current version of the official Windows Git client. It stores the ssh executable in Git\usr\bin
instead of Git\bin
now (since version 2.5 released in Aug 2015).
So go to TortoiseGit > Settings > Network
and change the SSH client path to:
C:\Program Files\Git\usr\bin\ssh.exe
(or whatever the path to your Git installation is)