I have a server with SSH access and I want to place a Git origin repo there. I just created a --bare --shared repo locally and copied it to the server per SCP. Now I wanted to clone this repo per SSH url. I tried
ssh://USERNAME@HOST/folder1/folder2/gifolder.git
ssh://USERNAME:PASSWORD@HOST/folder1/folder2/gifolder.git
ssh://USERNAME@HOST:PORT/folder1/folder2/gifolder.git
ssh://USERNAME@HOST:/folder1/folder2/gifolder.git
and some more combinations of the above. But Git always says
"fatal: The remote end hung up unexpectedly"
although I'm enabled to connect per SSH with USERNAME and PASSWORD to HOST.
Is it possible to work with git in the way I want to, or do I have to setup it completely different?
UPDATE:
I configured Git Extension to use OpenSSH instead of Putty and now OpenSSH asks me to enter the password after "clone". When I'm entering the correct password I'm getting the following error:
bash: git-upload-pack: command not found
(OpenSSH seems to get a connection to the server, because it wants me to re-enter my password when i'm entering something else) So. Now I need to fix that new problem. First of all: I'm not enabled to install git on the server. Is it possible to make "git-upload-pack" and "git-receive-pack" available without installing git?
Thanks again
UPDATE2 - SOLUTION:
The solution was to integrate the remote repository-directory as a local directory per SSH/SFTP. I'm using http://www.expandrive.com/ for that purpose. Thanks