You are setting up a new git repository and when you try to push you get this error :
1 2 | 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
1 2 3 | git add . git commit -m 'initial commit' git push origin master |
That should works.