1
I'm trying to publish changes to a project in GitHub, but I keep getting this authentication error:
root@nodeTwo:/usr/local/src/cedit-dev# git push origin master
Username for 'http://www.github.com': taylorholberton
Password for 'http://taylorholberton@www.github.com':
fatal: Authentication failed
root@nodeTwo:/usr/local/src/cedit-dev#
taylorholberton
is my username at github.com and my password is the same one I use for the website (right?), so how can I be getting an authentication error?
One reason might be that my email isn't http://taylorholberton@www.github.com
. If that's the reason I'm getting an error, how do I fix it?
I've looked through all the beginners pages from help.github.com
and I haven't found any information relative to this.
Update:
Output of git remote -v
:
origin http://www.github.com/taylorholberton/cedit (fetch)
origin http://www.github.com/taylorholberton/cedit (push)
Github really wants you to use key-based authentication. You really should take the time to set that up. – Zoredache – 2013-08-06T06:19:49.027
@Zoredache is that the reason I'm getting an error? – tay10r – 2013-08-06T06:20:19.607
No idea. I just have never actually used password authentication with github. – Zoredache – 2013-08-06T06:23:41.857
@Zoredache I'm logged in now through
ssh
and it's still not working – tay10r – 2013-08-06T06:32:28.587You have a 'www' in the origin URL; try removing that. I don't think GitHub uses that vhost. – JoshRagem – 2013-08-06T06:52:24.483
Wait... What is the output of
git remote -v
? – JoshRagem – 2013-08-06T06:54:05.723@JoshRagem how do I remove
www.
? – tay10r – 2013-08-06T07:11:01.610