New Remote Repository Problem
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]firstname.lastname@example.org[/email]
I set the URL: git remote set-url origin [email]email@example.com/usr/git/DAP_StokerOS.git[/email] The problem occurs when I try to push: git push --set-upstream origin master fatal: 'firstname.lastname@example.org/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.
Never mind. It is the git syntax that is non-standard for SSH. A colon ':' needs to follow the host name, not a slash '/'.
1-2 of 2
Reply to this discussion
You cannot edit posts or make replies: You should be logged in before you can post.