Reputation: 26
I'm attempting to use a three location Git repo setup
I've successfully created my SSH key, my Git repo on local and pushed it to my remote. I'm attempting to do the same from my web server to my remote but receive the error:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
I'm relatively new to Git/Terminal/SSH and might be missing something obvious that's necessary to push from web server to remote. I've been through the entire Bitbucket SSH FAQ to no avail. I'm not sure why I can push, via SSH, from my local to remote but am unable from my web server to remote.
Upvotes: 1
Views: 2244
Reputation: 4419
A couple of things you can do on your webserver (which I presume is running Linux):
Upvotes: 2