This is my first time trying to setup a git remote so that I can have repositories on my vps, but I’m running into a few obstacles. The current problem is that the connection keeps timing out and I’m not sure what the hang up is.
I have a bare repos at git.mydomain.com/repos/myproj.git
I have ssh auth working as a specific user
I want to clone a local repos at C:\repos/myproj
I use the following command in cmd.exe locally:
git clone ssh://firstname.lastname@example.org/~/repos/myproj.git
Now, I think it recognizes that it is indeed a git repos and appears to take a while to do anything – clone, push, whatever – and then gives me the message that the connection timed out. I’m not quite sure how to figure out the problem since I tried adding the -v flag to the command above and it did nothing.