I've created a remote repository (/usr/git/StokerOS.git) using: git --bare init I have SSH working on my local host so that no password is required and using port 26. ssh [email]email@example.com[/email]
I set the URL:
git remote set-url origin [email]firstname.lastname@example.org/usr/git/DAP_StokerOS.git[/email]
The problem occurs when I try to push:
git push --set-upstream origin master
fatal: 'email@example.com/usr/git/DAP_StokerOS.git' does not appear to be a git repository
fatal: Could not read from remote repository.
This seems to me to be a connection issue since the response comes back instantly. It does not seem to me to have taken enough time to even log in to the remote. I am guessing git is failing to connect to the remote host rather than actually trying to access that directory. Does git use SSH differently than from command line? How can I debug this? TIA.