Jared
Jared

Reputation: 11

Git Bash: "fatal: remote end hung up unexpectedly"

I am using a Windows Vista machine with msysgit installed and attempting to clone a remote git repository using Git Bash, but I get the error "fatal: remote end hung up unexpectedly". I am able to SSH my company's server and get a listing of repositories, and the server admin has granted me access to the ones I'm trying to clone. The server admin reports that I am not connecting to the server when I run "git clone ". Also, I am not asked for the password on my private key. I have successfully set up projects from the same repository on the same machine before. Any ideas?

Upvotes: 1

Views: 2012

Answers (2)

Cameron Skinner
Cameron Skinner

Reputation: 54286

It might be worth explicitly adding the ssh protocol specifier:

git clone ssh://[email protected]/path/to/project

Upvotes: 1

Adam Dymitruk
Adam Dymitruk

Reputation: 129536

Check the case in when you specify the repository name. The URLs are case sensitive.

Upvotes: 0

Related Questions