How to push to github from a server account with multiple users?
Posted
by
kirdie
on Super User
See other posts from Super User
or by kirdie
Published on 2012-12-13T10:27:28Z
Indexed on
2012/12/13
11:08 UTC
Read the original article
Hit count: 271
We have a web server which contains a web application stored as a github project. Now all of us can push from our local machines to github and then pull on the server but sometimes we want to make small changes and immediately see the effect so it would be great to be able to push at the server too. Now I created an ssh key for the server but I don't want to add the servers ssh key to my github account because then all github actions done from the server are counted to my account. Is it possible to add the ssh key to the github web application project without creating a new user for the server and what is the best practice for this situation? I also don't want to copy my private key to the server obviously.
© Super User or respective owner