My question is very similar to many others out there, however I'm fairly new to github and how how ssh keys are handled. I have set up a launchd file which runs a script every hour that includes a git push. When I run the script manually I push just fine, but when it runs automatically through cron/launchd, I get a "permission denied (public key) fatal could not read from remote". I have set up my ssh keys using (github documentation).
I'm running MAC OSX Yosemite.
Posts I've looked at: Pushing to GitHub using a cron job -- Permission denied (publickey)
I am confused by the solutions out there, regarding setting up a keychain (is this mac osx management system or something separate?) as well as what it means to set SSH_AUTH_SOCK to my cron job.
Currently my file setup is ~/myname/folder_1/githubrepo
With my my gitpush script is stored ~/myname/folder_1/githubrepo
With the RSA keys stored in ~/.ssh/ (id_rsa)
Any push would be wonderful, perhaps a more dumbed step by step process would be wonderful.