I am trying to set up a git repo on my test server when I try to push from my windows computer

```
git push ssh://git@server.com:/path/.git

```

I get the error

```
fatal: The remote end hung up unexpectedly

```

But when I ssh'd into my server and tried to do the the exact same command it worked just fine. Is this a problem with my git setup or with my windows setup