You are setting up a new git repository and when you try to push you get this error :
error: src refspec master does not match any. error: failed to push some refs to 'ssh://your_host/project.git'
This just mean you forgot to do the initial commit, try
git add . git commit -m 'initial commit' git push origin master
That should works.