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
You need the binaries git-upload-pack & git-receive-pack in the path on the remote while an ssh is being executed.
If not configure them for every remote link in your repository like this
git config remote.origin.uploadpack /somepath/git/git-upload-pack
git config remote.origin.receivepack /somepath/git/git-receive-pack
where origin is the remote.