It sounds like git-upload-pack is not in the PATH of your non-interactive shell. Assuming git is installed on the remote host, you should ssh in to it and figure out where git is installed (run `git --exec-path`), then run your command like so git clone -u /path/to/libexec/git-core/git-upload-pack ssh://user@host/~/GPUProject/Histogram In my case that path is /usr/local/libexec/git-core/git-upload-pack. -Kevin Ballard On Sep 19, 2010, at 5:50 PM, kinley wrote: > > Thanks for your help. > > Actually now I tried doing this > > git clone ssh://user@host/~/GPUProject/Histogram > > but getting > > bash: git-upload-pack: command not found > fatal: The remote end hung up unexpectedly > > I tried several ways of specifying the path of the URL assuming that this > could be a path issue but every time it gives the same error. > > Thanks once again. > -- > View this message in context: http://git.661346.n2.nabble.com/Newbie-question-tp5548737p5548842.html > Sent from the git mailing list archive at Nabble.com. > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html