Comment on Using git to manage a websiteparentComments−russell_h15yNot necessarily. If you run an ssh-agent locally and configure ForwardAgent to 'yes' for connections to your web server you can ssh to your server and use ssh from it without actually putting your private key on it.I'd still recommend pushing to a server though.−mcmatterson15yAn excellent discussion about this exact topic came through HN yesterday. See http://news.ycombinator.com/item?id=2183415, and in particular the comments.−alexgandy15yThanks for pointing this out.
Comments
Not necessarily. If you run an ssh-agent locally and configure ForwardAgent to 'yes' for connections to your web server you can ssh to your server and use ssh from it without actually putting your private key on it.
I'd still recommend pushing to a server though.
An excellent discussion about this exact topic came through HN yesterday. See http://news.ycombinator.com/item?id=2183415, and in particular the comments.
Thanks for pointing this out.